Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ insertion_sort
Function
insertion_sort
example_code/item_092.py:51–55 ·
view source on GitHub ↗
(data)
Source
from the content-addressed store, hash-verified
49
50
print(
"Example 1"
)
51
def
insertion_sort(data):
52
result = []
53
for
value in data:
54
insert_value(result, value)
55
return
result
56
57
58
print(
"Example 2"
)
Callers
1
item_092.py
File · 0.85
Calls
1
insert_value
Function · 0.85
Tested by
no test coverage detected