powered by
This function tells whether a year is a leap year or not.
LeapYear(year)
Boolean telling whether the year is a leap year or not.
A numeric value indicating the year in the Gregorian calendar.
print(LeapYear(1990)) print(LeapYear(1991)) print(LeapYear(1992)) print(LeapYear(1993))
Run the code above in your browser using DataLab