Report Bug

QusWhich of the following commands will create a list? Qusनिम्नलिखित में से कौन सी कमांड एक लिस्ट क्रिएट करेगी ?


A. list1 = list()
B. list1 = []
C. list1 = list([1, 2, 3])
D. all of the mentioned


Solution
D. all of the mentioned



Explanation
Execute in the shell to verify
Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad