ll.py 181 Bytes Edit 1 2 3 4 5 6 7 8 try: a=int(input(('你今年几岁了?'))) except: print('要输入整数啊') else: if a<18: print('不可以喝酒哦') print('程序结束~~')