设为首页 加入收藏

TOP

购物车优化(二)
2017-10-21 06:06:54 】 浏览:268
Tags:购物车 优化
("没钱别嘚瑟了") 104 else: 105 print("没有您要的商品") 106 elif user_choice == 'q': 107 print("----------shopping list----------") 108 for p in shopping_list: 109 print(p) 110 with open("shopping_list.txt", "a",encoding="utf8") as f_shop3: 111 f_shop3.write(str(p)) 112 print("你还剩余", salary) 113 with open("salary.txt", "w",encoding="utf8") as f_salary3: 114 f_salary3.write(str(salary)) 115 exit() 116 117 else: 118 print("输入错误")

   希望能得到打什么的评论,这才是我最大的学习动力!谢谢!

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
上一篇Python实现对百度云的文件上传 下一篇敲出的第一个python程序

最新文章

热门文章

Hot 文章

Python

C 语言

C++基础

大数据基础

linux编程基础

C/C++面试题目