Commit 8e51ab88 by BellCodeEditor

save project

parent da9d3e6f
Showing with 6 additions and 2 deletions
...@@ -11,5 +11,9 @@ def new_input(): ...@@ -11,5 +11,9 @@ def new_input():
print('请输入一个整数') print('请输入一个整数')
else: else:
print(unit) print(unit)
finally:
print('-'*30)
print(total) print(total)
new_input() return total
\ No newline at end of file result=new_input()
print(result)
\ 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