Question: ( Python ) A magic date is one where the month times the day = 2 - digit year. For example: 6 / 1 0

(Python) A "magic" date is one where the month times the day =2-digit year.
For example: 6/10/60 is a "magic" date, because the month, 6, times the day, 10, is equal to the year, 60.
Write a plan and code a program that asks the user for the month, day, and year.
If all 3 inputs are integers, determine if the date is magic. You do not have to ensure that the month and day are valid.
Output a message such as "The date, xx/xx/xx is magic" or "The date xx/xx/xx is not magic".

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!