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