Commit 6a762c78 by BellCodeEditor

auto save

parent ffa62063
Showing with 11 additions and 4 deletions
......@@ -5,6 +5,14 @@ def ze():
if unit== 'q':
break
else:
total.append(unit)
print(total)
ze()
\ No newline at end of file
try:
unit=int(unit)
except:
print("请输入数字")
else:
total.append(unit)
finally:
print("-"*30)
return total
a=ze()
print(a)
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