Question: Write a program to ask the user for a month (mm), day (dd), and year (yyyy). Use three input() lines to do this. (This can

Write a program to ask the user for a month (mm), day (dd), and year (yyyy). Use three input() lines to do this. (This can be done with one call to input well see how to do that shortly.) If the date is invalid (like 02, 30, and 2020) report this to the user. Otherwise, report to the user what day corresponds to this date. For example, if the user inputs 10, 15, and 2020, the output should look like: 10-15-2020 is a Thursday

Use Python for the code

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!