Commit a7571ece by BellCodeEditor

save project

parent 1b4d209a
Showing with 9 additions and 1 deletions
......@@ -2,7 +2,7 @@
def a():
total = []
while True:
unit= input("请输入:")
unit= input("请输入(q退出):")
if unit== 'q':
break
else:
......@@ -14,6 +14,14 @@ def a():
total.append(a)
print('*'*20)
return total
def sum(money):
count = 0
for i in money:
count = count + i
return count
jiego=new_input()
print(total)
a()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment