The quiz where the difficulty automagically adapts to the player's Python knowledge
This is a question page. You can use this page to bookmark a question. Start a new quiz!
my_list = ["apple", "banana", "orange", ] my_list.clear() print(my_list)
The clear() method removes all elements from a list. The clear() method returns None and empties the list in place. (programiz.com/python-programming/methods/list/clear)
Question difficulty: 🔵🔵🔵🔵🔵