def season(month):
if month >= 0 and month <= 2:
return "зима"
elif month >= 3 and month <= 5:
return "весна"
elif month >= 6 and month <= 8:
return "літо"
else:
return "осінь"
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
def season(month):
if month >= 0 and month <= 2:
return "зима"
elif month >= 3 and month <= 5:
return "весна"
elif month >= 6 and month <= 8:
return "літо"
else:
return "осінь"