RosettaCodeData/Task/Leap-year/Python/leap-year-1.py

3 lines
38 B
Python

import calendar
calendar.isleap(year)