MCPcopy Index your code
hub / github.com/python/cpython / start

Method start

Lib/turtledemo/planet_and_moon.py:29–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 for p in self.planets:
28 p.init()
29 def start(self):
30 for i in range(10000):
31 self.t += self.dt
32 for p in self.planets:
33 p.step()
34
35class Star(Turtle):
36 def __init__(self, m, x, v, gravSys, shape):

Callers 1

mainFunction · 0.95

Calls 1

stepMethod · 0.45

Tested by

no test coverage detected