season = int(input("1から12の数字を入力してください:")) if 3 <= season < 6: print("spring") elif 6 <= season < 9: print("summer") elif 9 <= season < 12: print("fall") else: print("winter")