NIELIT O Level Exam

Which of the following commands will create a list?

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 सभी का उल्लेख है




Correct Answer is :

D. all of the mentioned



Explanation
Execute in the shell to verify
Latest Current Affairs 2025 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