Question: 4 . ( 2 5 points ) A leap year is a year that is an integer multiple of 4 , except for years evenly
points A leap year is a year that is an integer multiple of except for years evenly divisible by but not by For example, the year was a leap year, since times However, the year will not be a leap year, since it is evenly divisible by but not by Write a function in Python that determines whether a given year is a leap year or not. Hint: Use the operator in Python. A number x is divisible by another number y if mathrmxmathrmy If x is not divisible by y then mathrmxmathrmy
eq
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
