Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ get_food_period
Function
get_food_period
example_code/item_111.py:143–146 ·
view source on GitHub ↗
(database, species)
Source
from the content-addressed store, hash-verified
141
142
print(
"Example 10"
)
143
def
get_food_period(database, species):
144
# Query the Database
145
pass
146
# Return a time delta
147
148
def
feed_animal(database, name, when):
149
# Write to the Database
Callers
1
do_rounds
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected