Professional Documents
Culture Documents
Class Test MCQ On List in Python
Class Test MCQ On List in Python
13. What we call the operation which is used to extract particular range from a
sequence.
a. Slicing b. range c. Indexing d. Replication
14. Index of last element in list is n-1, where n is total number of elements.(T/F)
a. True b. False
19. Which of the following is true about List data type in Python?
a. List is a Sequence data type b. List is mutable
c. List can have elements of different data type
d. All of the above
20. Write the output of the following write output.
a = [1,2,3,4]
a.append([7,8])