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
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 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 Best Website and Software Company in Allahabad