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