Which of the following commands will create a list?
A. mylist = list([1, 2, 3])
B. mylist = []
C. mylist = list()
D. all of the mentioned
Answer:D
Which of the following commands will create a list?
A. mylist = list([1, 2, 3]) B. mylist = [] C. mylist = list() D. all of the mentioned