Returns copy of the set.
It is cloned object.Returns copy of the set.
It is cloned object.
1) s = {10,20,30}
2) s1 = s.copy()
3) print(s1)
xxxxxxxxxx
new_person = person.copy()
new_person = dict(person) # another way to create a copy of dictionary