Python Dictionary clear() Method

0

Python Dictionary clear() Method

  • The clear() method removes all the elements from a dictionary.

Syntax

  • dictionary.clear() 

Parameter Values

  • No parameters

 

 

Post a Comment

0Comments
Post a Comment (0)