'''
copy()	Returns Shallow Copy of a List
'''
list=['ram','sita','gita']
a=list.copy()
a.append('dog')
# Printing new and old list
print('Old List: ', list)
print('New List: ', a)

'''
Shallow Copy of a List Using Slicing
'''
# mixed list
list = ['cat', 0, 6.7]

# copying a list using slicing
new_list = list[:]

# Adding element to the new list
new_list.append('dog')

# Printing new and old list
print('Old List: ', list)
print('New List: ', new_list)
