Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started