Python Programming - Lists - Discussion
Discussion Forum : Lists - General Questions (Q.No. 50)
50.
What does the
clear()
method do in Python lists?
Answer: Option
Explanation:
The
clear()
method in Python lists is used to remove all elements from the list, leaving it empty.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers