Question: hello can I have a python code and flowchart for this problem. Thank you Prompt the user to input year, day and month. The program

hello can I have a python code and flowchart for this problem. Thank youhello can I have a python code and flowchart for this problem.

Prompt the user to input year, day and month. The program should validate this date by checking if the year is leap year or not and the day falls between 1 and 31, the month between 1 and 12. For the month of February take the number of days as 28 and 29 if it is a leap year At every step, make sure you print an appropriate error message, for example if the month entered is 13 then the message should be Invalid month. You entered 13. For other months make sure the days entered are appropriate for example for November the days cannot be more than 30

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!