Commit 1d8bdc76 by BellCodeEditor

save project

parent 775dd661
Showing with 5 additions and 5 deletions
......@@ -5,12 +5,13 @@ def new_input():
if unit=="q":
break
try:
unit=int( unit)
unit=int( unit)
except:
print("输入整数")
else:
print()
total.append(unit)
print(total)
\ No newline at end of file
return (total)
new_input()
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