Commit 70b10cb5 by BellCodeEditor

save project

parent 686aab1e
Showing with 8 additions and 3 deletions
...@@ -5,6 +5,11 @@ def poo(): ...@@ -5,6 +5,11 @@ def poo():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
print(total) unit=int(unit)
poo() except
print('重输')
else:
total.append(unit)
print(total)
poo()
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