Practice · 1 of 1
Leap Year
CHALLENGE
Difficulty: beginner+25 XP
Implement is_leap(year): divisible by 4, but centuries must be divisible by 400 (1900 is not a leap year; 2000 is).
Press Submit to check your solution.
Back to lesson: Practice: Conditions Practice: Logic That Bites