Python exercise

Leap year

Sign in to hand in your solution and get feedback.

# Leap year program # ------------------------- # Subprograms # ------------------------- def is_leap_year(year): # ------------------------- # Main program # ------------------------- if is_leap_year(year): print(year, "is a leap year.")