shoplist = ['food','water','cloth']
mylist = shoplist
del shoplist[0]
print shoplist
print mylist
#看看有什么不同
mylist = shoplist[:]
del shoplist[0]
print shoplist
print mylist
#看看再有什么不同
:是切片运算符,意味着取出每一个切片
shoplist = ['food','water','cloth']
mylist = shoplist
del shoplist[0]
print shoplist
print mylist
#看看有什么不同
mylist = shoplist[:]
del shoplist[0]
print shoplist
print mylist
#看看再有什么不同
:是切片运算符,意味着取出每一个切片