LearnPy Hub
← If…Else problems
Medium

Leap Year

A year is a leap year if it is divisible by 4, except century years, which must be divisible by 400. Print Leap or Not Leap.

Input

One integer year.

Output

Leap or Not Leap.

Sample 1

Input
2024
Output
Leap

Sample 2

Input
1900
Output
Not Leap
solution.py
Output appears here
Hints
Leap Year · Python practice problem · LearnPy Hub