Exercise: Dynamically Create Lists

Define a function called create_list that has two parameters and returns a list containing those parameters. Ensure the print statements produce the expected outputs.
num = 999 # define function here...
def create_list
print(create_list(1,2)) # expected: [1,2] print(create_list('John','Caro')) # expected: ['John','Caro'] print(create_list(100,True)) # expected: [100,True]
Python
Setting up Python environment...
Output