11. In Python, how can you copy the elements of one list into another?
12. What is the purpose of the clear() method for lists?
13. In Python, how can you find the index of a specific element in a list?
14. What will be the output of the following code:
my_list = [3, 1, 2]
my_list.sort()
print(my_list)
my_list = [3, 1, 2]
my_list.sort()
print(my_list)
15. In Python, how can you extend a list by adding elements from another iterable?
16. What is the output of the following code:
my_list = [1, 2, 3]
my_list.insert(1, 4)
print(my_list)
my_list = [1, 2, 3]
my_list.insert(1, 4)
print(my_list)
17. Which method is used to remove the first occurrence of a specific element in a list?
18. What is the purpose of the count() method for lists?
19. In Python, how can you join two or more lists together?
20. In Python, how can you remove all occurrences of a specific element from a list?
Read More Section(Lists in Python)
Each Section contains maximum 100 MCQs question on Lists in Python. To get more questions visit other sections.