Commit d88b72e7 by BellCodeEditor

save project

parent 64215ced
Showing with 1 additions and 1 deletions
...@@ -5,7 +5,7 @@ def a(): ...@@ -5,7 +5,7 @@ def a():
if unit== 'q': if unit== 'q':
break break
try: try:
unit=int(unit)
except: except:
print("请输入整数") print("请输入整数")
else: else:
......
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