1. Which of the following is the correct way to create an empty list in Python?
2. What does the len() function do when applied to a list?
3. How can you add an element at the end of a list in Python?
4. What is the purpose of the list() constructor in Python?
5. Which method is used to remove the last element from a list?
6. In Python, how can you check if an element exists in a list?
7. What method is used to insert an element at a specific index in a list?
8. What is the purpose of the remove() method for lists?
9. Which method is used to count the occurrences of an element in a list?
10. What is the output of the following code:
my_list = [1, 2, 3]
print(my_list[1])
my_list = [1, 2, 3]
print(my_list[1])
Read More Section(Lists in Python)
Each Section contains maximum 100 MCQs question on Lists in Python. To get more questions visit other sections.