Which of the following commands will create a list?
(a) list1 = list()
(b) list1 = []
(c) list1 = list([1, 2, 3])
(d) all of the mentioned
I had been asked this question during an online interview.
My question is from Lists topic in division Lists & List Comprehension of Python