Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ make_smoothies
Function
make_smoothies
example_code/item_008.py:105–106 ·
view source on GitHub ↗
(count)
Source
from the content-addressed store, hash-verified
103
pass
104
105
def
make_smoothies(count):
106
print(f
"Making smoothies with {count} banana slices"
)
107
108
pieces = 0
109
count = fresh_fruit.get(
"banana"
, 0)
Callers
1
item_008.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected