Commit a3a9670b by BellCodeEditor

save project

parent ff632961
Showing with 10 additions and 0 deletions
try:
a=int(input("输入年龄"))
except:
print("请输入数字")
else:
if a < 18:
print("不能喝酒哦")
else:
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