Commit ca20df2a by BellCodeEditor

save project

parent db4a8e24
Showing with 4 additions and 5 deletions
...@@ -5,10 +5,10 @@ def sela(): ...@@ -5,10 +5,10 @@ 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)
sela() sela()
\ 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