Which of the following is the proper way to denote an empty list in Python?
A) ['']
B) [ ]
C) ['empty']
D) all of the above
Correct Answer:
Verified
Q26: The + operator is used to concatenate
Q27: Because lists can contain elements of any
Q28: Strings, tuples and strings are collectively referred
Q29: The slice operation removes an index range
Q30: Which of the following is not a
Q32: Which of the following is the correct
Q33: Square brackets are used with lists in
Q34: Which of the following is not a
Q35: For lst = [10, 20, 30, 40,
Q36: What should the value of k be
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents