Commit 7dbc1479 by BellCodeEditor

auto save

parent 5d71d79c
Showing with 10 additions and 0 deletions
s = input("请输入你的年龄:")
try:
a = int(s)
except:
print("请输入整数")
else:
if int(a)<18:
print("请不要喝酒哦")
print("测试结束")
\ 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