Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ factorize
Function
factorize
example_code/item_068.py:51–54 ·
view source on GitHub ↗
(number)
Source
from the content-addressed store, hash-verified
49
50
print(
"Example 1"
)
51
def
factorize(number):
52
for
i in range(1, number + 1):
53
if
number % i == 0:
54
yield
i
55
56
57
print(
"Example 2"
)
Callers
2
item_068.py
File · 0.85
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected