Skip to content
CodeItRaw
Code Reading
/
Leap Year
Path
Play
Daily
Leaderboard
tr
Break the Code
Leap Year
Write a year (from 1 to 3000) for which this function gives the wrong answer.
1
def
is_leap
(year):
2
return
year %
4
==
0
and
year %
100
!=
0