

InterviewSolution
Saved Bookmarks
1. |
Which of the following commands will create a list?(a) list1 = list()(b) list1 = [](c) list1 = list([1, 2, 3])(d) all of the mentionedI had been asked this question during an online interview.My question is from Lists topic in division Lists & List Comprehension of Python |
Answer» RIGHT CHOICE is (d) all of the mentioned Easy explanation - Execute in the SHELL to VERIFY |
|