Commit 6001afcf by BellCodeEditor

save project

parent a79aeb4f
Showing with 5 additions and 0 deletions
...@@ -5,6 +5,11 @@ def ji(): ...@@ -5,6 +5,11 @@ def ji():
if a=='q': if a=='q':
break break
else: else:
try:
a=int(a)
except:
print('重新输入')
else:
total.append(a) total.append(a)
print(total) print(total)
ji() ji()
......
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