Leap Year
Easy · Numbers
A year is a leap year if it is divisible by 4, except years divisible by 100, which are leap years only if they are also divisible by 400. So 2024 and 2000 are leap years, but 1900 is not.
Write a function is_leap(year) that returns True for leap years and False otherwise.
Next: Count the Vowels