o.py 178 Bytes Edit 1 2 3 4 5 6 7 8 try: age = int(input('你今年几岁了?')) except: print('要输入整数啊') else: if age < 18: print("不能喝酒噢!") print("程序结束")