Commit 4efd7af2 by BellCodeEditor

save project

parent 00a9a8e2
Showing with 4 additions and 3 deletions
...@@ -6,10 +6,10 @@ def new_input(): ...@@ -6,10 +6,10 @@ def new_input():
break break
else: else:
try: try:
u=int(u) int(u)
except: except:
print("请重新输入一个数字") print('请输入')
else else:
total.append(u) total.append(u)
print(total) print(total)
new_input() new_input()
\ 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