Commit 433c662f by BellCodeEditor

save project

parent 12a4f1e6
Showing with 7 additions and 6 deletions
...@@ -11,10 +11,11 @@ def new_input(): ...@@ -11,10 +11,11 @@ def new_input():
print('要输入整数啊!') print('要输入整数啊!')
else: else:
if age<18: if age<18:
print('不可以') print('不可以')
finally:
print("-"*30)
print('程序结束') return total
else: result=new_input()
total.append(unit) print(result)
print(total)
new_input()
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