Welcome!

×

...or use your e-mail

Go back to Challenges list

Challenge

Leap Year

Created by
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 tested

Output Format
The output should be a single, capitalised word, either 'True' or 'False'

Sample Input
2015

Sample Output
False

Memory Limit
512M


Sign Up or Login to solve this Code Challenge