Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DasyDong/developer-roadmap
/ test_legb
Function
test_legb
code/run_legb.py:2–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
# coding: utf-8
2
def
test_legb():
3
fun = [
lambda
x, i=i: x*i
for
i in range(4)]
4
for
item in fun:
5
print(item(1))
6
7
8
def
func():
Callers
1
run_test_legb
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected