![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笨方法学Python3
ysh11o
botbotbotbotbotbot
展开
-
习题16 读写文件
#ex16.py from sys import argv script, filename = argv print(f"we're going to erase {filename}.") print("if you don't want that , hit CTRL-C (^C).") print("If you want taht, hit RETURN.") input(" ")...原创 2019-09-03 11:09:36 · 128 阅读 · 0 评论 -
习题19 函数和变量
#ex19.py def cheese_and_crackers(cheese_count, boxes_of_crackers): print(f"You have {cheese_count} cheeses!") print(f"You have {boxes_of_crackers} boxes of crackers!") print("Man that's enough for ...原创 2019-09-06 16:39:10 · 117 阅读 · 0 评论