hh.py 172 Bytes Edit 1 2 3 4 5 6 7 8 try: age=int(input("你今年几岁")) except: print("要输入整数啊") else: if age < 18: print("不可以喝酒噢~") print("程序结束~")