Chat with us, powered by LiveChat if the file invalid i will sen - Writemia

if the file invalid i will sen

if the file invalid i will send it by emailAssignmentDownload and rename it according to the instructions above.Modify the program by adding the missing function. The missing function will use Python selection statements to choose the correct season of the year based on the month and day sent in as parameters. Add print statements to the end of the main() method to output to the screen what season of the year corresponds to the date that was entered.See the sample transcripts below for example inputs and output.The dates for each season are:Spring: March 20 – June 20Summer: June 21 – September 21Fall: September 22 – December 20Winter: December 21 – March 19Here is a rhyme I learned a long time ago that has always helped me keep track of how many days are in each month…’Thirty days pass September, April, June, and November.All the rest have thirty-one.Except for February, which stands alone.'(February is weird because of the leap years. Let’s just go with 29 days for Feb.)Grading – 10 points4 points – Your program calculates the season for each of the four test cases correctly (1 point each).2 points – When the user enters an invalid date, your program outputs a message to that effect.4 points – A function with the correct name (1 point), correct parameters (2 points) and correct return value (1 point) is used in the solution.Sample TranscriptsEnter month: MayEnter day: 3That’s a Spring Day.Enter month: JanuaryEnter day: 24That’s a Winter Day.Enter month: PythonuaryEnter day: 42That is not a valid date.

Do you need an answer to this or any other questions?

About Writemia

We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.

How It Works

To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.

Are there Discounts?

All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

Hire a tutor today CLICK HERE to make your first order