作为基础练习吧.列表LIST,元组TUPLE,集合SET,字符串STRING等等,显示,增删,合并... #===========List===================== shoplist = ['apple','mango','carrot','banana'] print 'I have ',len(shoplist), ' items to purchase.' print 'These items are:' for item in shoplist: print item,…