Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Avisikta-Majumdar/HackerRank_Python_Solutions
/ Write a function.py
File
Write a function.py
Write a function.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
is_leap(year):
2
leap = False
3
if
(year % 4) == 0:
4
if
(year % 100) == 0:
Callers
nothing calls this directly
Calls
1
is_leap
Function · 0.85
Tested by
no test coverage detected