# -*- coding: utf-8-*-
__author__ = 'manman'

print 'Simple Assignment'
shoplist = ['apple', 'mango', 'carrot', 'banana']

mylist = shoplist

del shoplist[0]

print 'shoplist is', shoplist, id(shoplist)
print 'mylist is', mylist, id(mylist)

print 'Copy by making a full slice'
mylist = shoplist[:]

del mylist[0]

print 'shoplist is', shoplist, id(shoplist)
print 'mylist is', mylist, id(mylist)
