摘要: 1 def calc(a,b): 2 res=a/b 3 return res 4 def main(): 5 money=input('输入多少钱:') 6 months=input('还几个月:') 7 try: 8 res=calc(int(money),int(months)) 9 except ZeroD... 阅读全文
posted @ 2018-02-24 16:49 飞鸟与新月 阅读(452) 评论(0) 推荐(0) 编辑