month = input()
month = int(month)
if month == 12 or month == 1 or month == 2:
print("winter")
elif month == 3 or month == 4 or month == 5:
print("spring")
elif month == 6 or month == 7 or month == 8:
print("summer")
else:
print("fall")
'Python > CodeUp' 카테고리의 다른 글
1072 - 정수 입력받아 계속 출력하기 (0) | 2021.02.19 |
---|---|
1071 - 0 입력될 때까지 무한 출력하기1 (0) | 2021.02.19 |
1069 - 평가 입력받아 다르게 출력하기 (0) | 2021.02.19 |
1068 - 정수 1개 입력받아 평가 출력하기 (0) | 2021.02.19 |
1067 - 정수 1개 입력받아 분석하기 (0) | 2021.02.19 |
댓글