Examveda

What is the purpose of the clear() method for lists and tuples?

A. Removes all elements from the list or tuple

B. Adds an element to the list or tuple

C. Removes the last element

D. Deletes the list or tuple

Answer: Option A


This Question Belongs to Python Program >> Tuples In Python

Join The Discussion

Related Questions on Tuples in Python