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

Method centerpiece

Lib/turtledemo/bytedesign.py:138–142  ·  view source on GitHub ↗
(self, s, a, scale)

Source from the content-addressed store, hash-verified

136 self.tripolyl(side * .75, scale)
137
138 def centerpiece(self, s, a, scale):
139 self.forward(s); self.left(a)
140 if s < (7.5 * scale):
141 return
142 self.centerpiece(s - (1.2 * scale), a, scale)
143
144def main():
145 t = Designer()

Callers 1

designMethod · 0.95

Calls 2

leftMethod · 0.80
forwardMethod · 0.45

Tested by

no test coverage detected