Commit 4efd7af2 by BellCodeEditor

save project

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