Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ announce
Function
announce
example_code/item_047.py:128–129 ·
view source on GitHub ↗
(remaining)
Source
from the content-addressed store, hash-verified
126
return
RESETS.pop(0)
127
128
def
announce(remaining):
129
print(f
"{remaining} ticks remaining"
)
130
131
def
run():
132
it = timer(4)
Callers
1
run
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected