how to use copy in python code example
Example 1: python copy set
s1 = set()
s2 = s1.copy()
Example 2: python copy list
a=[1,2,3,4]
b=a[:]
''' now b has all elements of a'''
s1 = set()
s2 = s1.copy()
a=[1,2,3,4]
b=a[:]
''' now b has all elements of a'''