摘要: 1 #CalStatisticsV1.py 2 def getNum(): #获取用户不定长度的输入 3 nums=[] 4 test=input("请输入要存储的数据(回车退出):") 5 while test != "": 6 nums.append(eval(test)) 7 test=inp 阅读全文
posted @ 2019-02-24 21:28 奔跑的蜗牛腿儿 阅读(12801) 评论(0) 推荐(0) 编辑