摘要: 深浅copy enumerate 用法 阅读全文
posted @ 2019-04-30 23:33 给我买AJ 阅读(257) 评论(0) 推荐(0)
摘要: li = [ {'name':'苹果','price':10}, {'name':'香蕉','price':20}, {'name':'西瓜','price':30} ] car = {} print('欢迎光临AJ小店') money = input('请输入您的余额') if money.isdigit() and int(money) > 0: money ... 阅读全文
posted @ 2019-04-30 22:53 给我买AJ 阅读(179) 评论(0) 推荐(0)
摘要: 1、复制运算 2、拷贝 copy 3、深拷贝 deepcopy 阅读全文
posted @ 2019-04-30 11:58 给我买AJ 阅读(373) 评论(0) 推荐(0)