Commit bc97073f by BellCodeEditor

save project

parent f5ff2368
Showing with 1 additions and 1 deletions
...@@ -6,7 +6,7 @@ def a(): ...@@ -6,7 +6,7 @@ def a():
break break
else: else:
try: try:
total.append(unit) 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