Commit 5d065363 by BellCodeEditor

save project

parent 241ee4c3
Showing with 7 additions and 0 deletions
......@@ -6,5 +6,11 @@ def new_input(a):
break
else:
a.append(unit)
try:
a1=int(unit)
except:
print("要输入整数哦")
print("程序结束~~")
break
new_input(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