Leap Year Check

Medium
#logic #dates

Input: `year` (int). Return: `True` if leap year, else `False`.

Example

Input: 2020
Output: True
Need a hint?
  • Divisible by 4 but not 100, OR divisible by 400
Run your code to see output