The Leap Year Puzzle

Python FundamentalsHard+10 XP+10

The Leap Year Puzzle

This code decides whether a year is a leap year:

You run it five times, once for each of these years:

1900, 2000, 2023, 2024, 2100

How many of the five runs print Leap year? Enter a whole number.

Hints

Solve it to unlock the solution

Once you get it right, the reasoning behind the answer shows up here.