Skip to content
Code ReadingLeap Year
Break the Code

Leap Year

Write a year (from 1 to 3000) for which this function gives the wrong answer.
1def is_leap(year):
2 return year % 4 == 0 and year % 100 != 0