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
CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad