Leap Year Check
Easy📝 Description
Determine if a year is a leap year (divisible by 4, not by 100 unless also by 400)
Input Format
A single integer year
Output Format
true/false
Constraints
1 ≤ year ≤ 9999
🔍 Sample Input
2020
✅ Sample Output
true
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run