month = int(input())
if month == 12 or month == 1 or month == 2:
print("зима")
elif month == 3 or month == 4 or month == 5:
print("весна")
elif month == 6 or month == 7 or month == 8:
print("лето")
elif month == 9 or month == 10 or month == 11:
print("осень")
else:
print("ошибка ввода")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
month = int(input())
if month == 12 or month == 1 or month == 2:
print("зима")
elif month == 3 or month == 4 or month == 5:
print("весна")
elif month == 6 or month == 7 or month == 8:
print("лето")
elif month == 9 or month == 10 or month == 11:
print("осень")
else:
print("ошибка ввода")