Q. Which Python method removes all items from a list?
Solution:
The clear() method removes all items from a list, leaving it empty.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
The clear() method removes all items from a list, leaving it empty.
Strengthen Your Practice with our comprehensive question bank.