A leap year has one day added to February for being synchronized with the seasonal year. A leap year appears with a regular frequency, which is determined by the following rule:
Given a year you must implement a function that returns true if it's a leap year, or false if it's not.
is_leap(2020) ➞ true
# Exactly divided by 4 and not by 100.
is_leap(1800) ➞ false
# Exactly divided by 4, but is also exactly divided by 100.
is_leap(2000) ➞ true
# Exactly divided by 400.
is_leap(2019) ➞ false
# It can't be exactly divided by 400 or by 4.