Vidyalelo
Python · Q132

Python Lists MCQs: Exam Practice for List Concepts

Programming · Python · question 132

Q132

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board