python program to very year is leap or not code example Example: python check if year is a leap year Click to copyimport calendar print(calendar.isleap(1900))