Commit ed1adf85 by BellCodeEditor

save project

parent c69d2bcd
Showing with 9 additions and 3 deletions
...@@ -5,5 +5,11 @@ def furudu(): ...@@ -5,5 +5,11 @@ def furudu():
if unit== 'q': if unit== 'q':
break break
else: else:
total.append(unit) try:
print(total)
\ No newline at end of file exceptit:
print('请重新输入一个数字')
else:
totla.append(unit)
print("-"*30)
print(totla)
\ 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