isleapyear() Function

Function

isleapyear( year )

Returns a Boolean value for whether the given year is a leap year.

Parameters

Keyword Type Description

year

Integer

The year to test whether or not it qualifies as a leap year.

Returns

Boolean

Examples

You can experiment with this function in the test box below.

Test Input

isleapyear(1996) returns True

Open in Github Built: Fri, Oct 22, 2021 (11:11:24 AM)

On This Page

FEEDBACK