Commit 9315e447 by BellCodeEditor

save project

parent 2e984c6f
Showing with 6 additions and 3 deletions
...@@ -8,8 +8,11 @@ def new_input(a): ...@@ -8,8 +8,11 @@ def new_input(a):
else: else:
try: try:
unit = int(unit) unit = int(unit)
a.append(unit)
except: except:
print("程序错误") print("程序错误")
break break
# print(a) return total
new_input(total)
\ No newline at end of file b=new_input(total)
print(b)
\ 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