Python Exercise: Prints the season for that month and day
37. Season Finder from Date
Write a Python program that reads two integers representing a month and day and prints the season for that month and day.
Pictorial Presentation:

Sample Solution:
Python Code:
Sample Output:
Input the month (e.g. January, February etc.): April Input the day: 15 Season is spring
Flowchart :

For more Practice: Solve these Related Problems:
- Write a Python program to determine the season of the year given a month and day by mapping dates to seasons.
- Write a Python program to use a dictionary or if-else ladder to output the season based on user input for month and day.
- Write a Python program to check boundary dates and return the appropriate season for a given month-day combination.
- Write a Python program to implement a function that takes a month and day and returns "spring", "summer", "autumn", or "winter".
Go to:
Previous: Write a Python program to check a triangle is equilateral, isosceles or scalene.
Next: Write a Python program to display astrological sign for given date of birth.
Python Code Editor:
Have another way to solve this solution? Contribute your code (and comments) through Disqus.
What is the difficulty level of this exercise?
Based on 68 votes, average difficulty level of this exercise is Hard
.
Test your Programming skills with w3resource's quiz.