leetle

Daily challenge for 2025-04-08

98. Check if a Year is a Leap Year

Write a function solve that determines if a given year is a leap year.

Example:
Input: 2020
Output: True
A leap year is divisible by 4, unless it's divisible by 100 and not divisible by 400.

Run this challenge interactively in Python or JavaScript when the app loads.