Commit 55e05250 by BellCodeEditor

save project

parent 8b519e83
Showing with 3 additions and 3 deletions
...@@ -13,9 +13,8 @@ def new_input: ...@@ -13,9 +13,8 @@ def new_input:
except expression : except expression :
print("请输整数") print("请输整数")
unit= int(unit) unit= int(unit)
if unit== 'q':
break
else: else:
total.append(unit) total.append(unit)
if unit== 'q':
break
print(total) print(total)
\ 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