Question: Write a function that finds out if a year is a leap year.The function must take the year it is to check as a parameter.The

Write a function that finds out if a year is a leap year.The function must take the year it is to check as a parameter.The function should return a boolean, true if the year is a leap year and false otherwise.Leap year definition from wikipedia: A leap year is normally every four years - all years that are divisible by 4 are leap years, except the hundred years (1700, 1800, 1900 etc.) which are not leap years unless they are divisible by 400 (1600, 2000, 2400etc.).Thus, 2000 was a leap year, while 2100 is not a leap year.

this problem have to be solve in python programming language.

thanks for help me.

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!