Commit 900c9cd1 by BellCodeEditor

save project

parent 00c26139
Showing with 7 additions and 2 deletions
...@@ -5,6 +5,11 @@ def e (): ...@@ -5,6 +5,11 @@ def e ():
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)
e() "
\ No newline at end of file \ 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