Python Program to Check whether Year is a Leap Year or not code example Example: python check if year is a leap year import calendar print(calendar.isleap(1900))