animalslist.py
#coding=utf-8
 animalslist=['fox','tiger','rabbit','snake',111]
 print "I don't like these",len(animalslist),'animals...'for item in animalslist:
     print itemprint "\n操作后"   
 #对列表的操作,添加,删除,排序
 animalslist.append('pig')
 del animalslist[0]
 animalslist.sort()
 for i in range(0,len(animalslist)):
     print animalslist[i],

----------------
I don't like these 5 animals...
 fox
 tiger
 rabbit
 snake
 111鎿嶄綔鍚
 111 pig rabbit snake tiger=====================================

zoo_tuple.py
zoo=('wolf','elephant','penguin','penguin',123)
 print zoo.count('penguin')
 print zoo.index('penguin')
 #zoo.append('pig')
 #del zoo[0]
 for i in range(0,len(zoo)):
     print zoo[i],------------------------------
2
 2
 wolf elephant penguin penguin 123======================================