Question: 1. Implement the following function in the PyDev module functions.py and test it from a PyDev module named +01 . py: def magic_date (day, month,

1. Implement the following function in the PyDev module functions.py and test it from a PyDev module named +01 . py: def magic_date (day, month, year) : Determines if a date is magic. A date is magic if the day times the month equals the year. Use: magic = magic date (day, month, year) Parameters: day - numeric day (int > 0) month - numeric month (int > 0) year - numeric two-digit year (int > 0) Returna: magic - True if date is magic, False otherwise (boolean) Sample testing: Enter a date. Day : 6 Month: 10 Year (2 digits) : 60 6/10/60 is a magic date. Test functions . py: Choose File No file chosen Submit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
