MCQ Answer

Which of the following commands will create a list?

Which of the following commands will create a list?

निम्नलिखित में से कौन सी कमांड एक लिस्ट क्रिएट करेगी ?
Topic : Sequence data types in python

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 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz