Commit bf505bc5 by BellCodeEditor

save project

parent 34a67110
Showing with 916 additions and 3 deletions
...@@ -10,5 +10,919 @@ def new_input(): ...@@ -10,5 +10,919 @@ def new_input():
else: else:
total.append(unit) total.append(unit)
print(total) print(total)
new_input() print('程序结束~~')
result() '''
\ No newline at end of file try:
age = int(input('你今年几岁'))
except:
print('要输人整数')
else:
if age < 16:
print('你不能喝酒噢')
print('程序结束~~')
'''
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