Answers for "python program to determine if a year is leap year or not"

5

python leap year solution

def is_leap(year):
   return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)
Posted by: Guest on March-21-2021

Code answers related to "python program to determine if a year is leap year or not"

Python Answers by Framework

Browse Popular Code Answers by Language