Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShivaBhattacharjee/KeyZen
/ make_adder
Function
make_adder
data/python/01_functions.py:9–12 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
7
return
n * factorial(n - 1)
8
9
def
make_adder(n):
10
def
adder(x):
11
return
x + n
12
return
adder
13
14
add5 = make_adder(5)
15
print(add5(10))
Callers
1
01_functions.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected