Commit 2f841f60 by BellCodeEditor

save project

parent 85b11851
Showing with 4 additions and 5 deletions
......@@ -2,7 +2,7 @@ def new_input():
total = []
while True:
money= input("请输入(q退出)")
if money== 'q':
if money == 'q':
break
else:
try:
......@@ -15,6 +15,5 @@ def new_input():
return total
return = new_input()
print(return)
\ No newline at end of file
result = new_input()
print(result)
\ No newline at end of file
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