Commit 4b6e8d98 by BellCodeEditor

save project

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