摘要: #先输入金额,然后通过商品编号购买,退出后有购物结算Product = [ ('Pen',5), ('Apple*3',10), ('Phone',3000), ('Fan',50), ('Ball',130),]Shopping_list = []while True: Salary = inpu 阅读全文
posted @ 2018-06-05 00:31 SinHang 阅读(334) 评论(0) 推荐(0)
摘要: L=[1,2,3,9,4,'233',5,6,7,9,'233','233']L2=['个','数','企']L.append(45)L.insert(2,77)L[2]=66print(L)L.remove(66)del L[0]L.pop(2)print(L)print(L[2:4])print 阅读全文
posted @ 2018-06-01 20:45 SinHang 阅读(222) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示