Go back to Challenges list
Leap Year
A year – in the Gregorian calendar – is a leap year if it is divisible by 4, but not divisible by 100, unless it is divisible by 400.
Input Format
Each input will be a single number, the year to be testedOutput Format
The output should be a single, capitalised word, either 'True' or 'False'Sample Input
2015
Sample Output
False
Memory Limit
512M