I’m studying for my Python class and need an explanation.
Write a program that accepts and month and day as input and prints the season. You can determine the season using the following season start dates:
- Spring starts on March 20
- Summer starts on June 21
- Fall starts on September 22
- Winter starts on December 21
Your program should work regardless of the case that is used to enter the month (e.g, June, JUNE, JuNe).
Here are some sample runs of the completed program:
Enter the month: March
Enter the day: 25
spring
Enter the month: March
Enter the day: 3
winter