MCPcopy 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
50print("Example 1")
51def move(period, speed):
52 for _ in range(period):
53 yield speed
54
55def pause(delay):
56 for _ in range(delay):

Callers 2

animateFunction · 0.85
animate_composedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected