About Lesson
leapdays():-
the leapdays() returns the total number of leap days from year y1 to year y2.
|
import calendar print(calendar.leapdays(2000,2022)) output: 6 |
Important Notice:
the leapdays() returns the total number of leap days from year y1 to year y2.
|
import calendar print(calendar.leapdays(2000,2022)) output: 6 |