Sha256: 771ffd9fdf2176a6074fa0a384b90edd3e6cf514bc789f06516157aa21cc39b4

Contents?: true

Size: 90 Bytes

Versions: 396

Compression:

Stored size: 90 Bytes

Contents

def is_leap_year(year):
    return year % 4 == 0 and (year % 100 != 0 or year % 400 == 0)

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/python/exercises/leap/example.py
trackler-2.2.1.179 tracks/python/exercises/leap/example.py
trackler-2.2.1.178 tracks/python/exercises/leap/example.py
trackler-2.2.1.177 tracks/python/exercises/leap/example.py
trackler-2.2.1.176 tracks/python/exercises/leap/example.py
trackler-2.2.1.175 tracks/python/exercises/leap/example.py
trackler-2.2.1.174 tracks/python/exercises/leap/example.py
trackler-2.2.1.173 tracks/python/exercises/leap/example.py
trackler-2.2.1.172 tracks/python/exercises/leap/example.py
trackler-2.2.1.171 tracks/python/exercises/leap/example.py
trackler-2.2.1.170 tracks/python/exercises/leap/example.py
trackler-2.2.1.169 tracks/python/exercises/leap/example.py
trackler-2.2.1.167 tracks/python/exercises/leap/example.py
trackler-2.2.1.166 tracks/python/exercises/leap/example.py
trackler-2.2.1.165 tracks/python/exercises/leap/example.py
trackler-2.2.1.164 tracks/python/exercises/leap/example.py
trackler-2.2.1.163 tracks/python/exercises/leap/example.py
trackler-2.2.1.162 tracks/python/exercises/leap/example.py
trackler-2.2.1.161 tracks/python/exercises/leap/example.py
trackler-2.2.1.160 tracks/python/exercises/leap/example.py