python常用數據結構的常用操作

作爲基礎練習吧。列表LIST,元組TUPLE,集合SET,字符串STRING等等,顯示,增刪,合併。。。 #===========List===================== shoplist = ['apple','mango','carrot','banana'] print 'I have ',len(shoplist), ' items to purchase.' print 'Th
相關文章
相關標籤/搜索