Examveda

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: Option D


This Question Belongs to Python Program >> Lists In Python

Join The Discussion

Related Questions on Lists in Python