Commit 888ccf83 by BellCodeEditor

save project

parent 3dcff4a6
Showing with 9 additions and 2 deletions
......@@ -7,4 +7,11 @@ def aaa():
else:
total.append(unit)
print(total)
aaa()
\ No newline at end of file
try:
s=int(input('你今年几岁了?'))
except:
print('请输入整数')
else:
if s<18:
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