Home
/
Python 3.11
/
Calendar
/
isleap
Python 3.0
Python 3.9
Python 3.11
Functions
ID
EN
…
Calendar
isleap
Python 3.11
Returns True if year is a leap year, otherwise False.
Syntax
PYTHON
Copy
calendar.isleap(year)
See Also
True
False