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
digit year.
For example:
is a "magic" date, because the month,
times the day,
is equal to the year,
Write a plan and code a program that asks the user for the month, day, and year.
If all
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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
