Quick actions

cmd+k|ctrl+k

Navigation

Languages

sets

Snippet info

Language

Python

Visibility

public

Author

ankushsahu203

Created

2026-07-18T17:13:37.104432Z

Updated

2026-07-18T17:13:37.104432Z

my_set={1,2,3,4,5,5}
new=my_set.copy()
my_set.clear()

print(new)
print(my_set)

INFO