You need to sign in to test your code and save your progress on this question.
Problem Description
Leap Year Checker
Medium
Algorithms
Selection
Arithmetic
Write a program that takes a year as input and outputs "Leap" if it is a leap year, and "Not Leap" otherwise. A year is a leap year if it is divisible by 4 but not by 100, unless it is also divisible by 400.
Example Input
2024
Example Output
Leap
Success Rate:
0% (0 passed / 0 attempted)
Code
Unsaved
Test Results
Click "Run Code" to evaluate your code against the tests.