Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bslatkin/effectivepython
/ move
Function
move
example_code/item_045.py:51–53 ·
view source on GitHub ↗
(period, speed)
Source
from the content-addressed store, hash-verified
49
50
print(
"Example 1"
)
51
def
move(period, speed):
52
for
_ in range(period):
53
yield
speed
54
55
def
pause(delay):
56
for
_ in range(delay):
Callers
2
animate
Function · 0.85
animate_composed
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected