Examveda

In Python, how can you remove all key-value pairs from a dictionary?

A. clear()

B. remove_all()

C. delete_all()

D. discard_all()

Answer: Option A


This Question Belongs to Python Program >> Dictionary In Python

Join The Discussion

Related Questions on Dictionary in Python