Commit ca20df2a by BellCodeEditor

save project

parent db4a8e24
Showing with 3 additions and 3 deletions
...@@ -5,9 +5,9 @@ def sela(): ...@@ -5,9 +5,9 @@ def sela():
if unit== 'q': if unit== 'q':
break break
try: try:
unit=int(unit)
except expression as identifier: except:
pass print("数字")
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
......
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