Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ 01_functions.py
File
01_functions.py
data/python/01_functions.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
clamp(value, lo, hi):
2
return
max(lo, min(value, hi))
3
4
def
factorial(n):
Callers
nothing calls this directly
Calls
3
make_adder
Function · 0.85
factorial
Function · 0.70
clamp
Function · 0.70
Tested by
no test coverage detected