Python Set clear() Method

0

Python Set clear() Method

  • The clear() method removes all elements in a set.

Syntax

  • set.clear()

Parameter Values

  • No parameters

 

 

Post a Comment

0Comments
Post a Comment (0)