Easy
Leap Year Function
Write
is_leap(year) returning True or False. Read years on one line and print the result for each on its own line.Input
One line of years.
Output
Lines.
Sample 1
Input
2024 2023
Output
True False
Sample 2
Input
1900
Output
False
Output appears here