test_1.py 179 Bytes Edit 1 2 3 4 5 6 sex = input('请输入性别') age = int(input('请输入年龄')) if age >= 19 and (sex == '男' or sex == '女'): print ('该上班了') else: print("去上学吧")