Commit c9b44010 by BellCodeEditor

save project

parent 4f8fd6b9
Showing with 12 additions and 2 deletions
...@@ -5,7 +5,16 @@ def jik(): ...@@ -5,7 +5,16 @@ def jik():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
print(total) unit = int(unit)
except:
print("再输")
else:
total.append(unit)
print("-"*30)
print(total)
jik() jik()
\ 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