Commit 8adc614b by BellCodeEditor

save project

parent fb245c49
Showing with 6 additions and 4 deletions
......@@ -8,7 +8,9 @@ def new_input():
try:
unit = int(unit)
except:
print("请输入正确")
else:
total.append(unit)
print("请输入正确")
print(total)
new_input()
\ No newline at end of file
return total
a=new_input()
print(a)
\ 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