Commit 1b4f6758 by BellCodeEditor

save project

parent 12fa7a93
Showing with 10 additions and 3 deletions
......@@ -7,8 +7,15 @@ def new_inqut():
else:
try:
a=int(unit)
total.append(a)
except:
print("输入整数")
else:
total.append(a)
finally:
return unit
print(total)
new_inqut()
\ No newline at end of file
b=new_inqut()
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