Commit 687da473 by BellCodeEditor

save project

parent 4f75582c
Showing with 4 additions and 0 deletions
...@@ -4,6 +4,10 @@ def a(): ...@@ -4,6 +4,10 @@ def a():
u=input("输入") u=input("输入")
if u=='q': if u=='q':
break break
try:
b=int(u)
except:
print('输入数字')
else: else:
t.append(u) t.append(u)
a() a()
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