Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/geekcomputers/Python
/ draw_triangle
Method
draw_triangle
turtle_shapes_made.py:17–20 ·
view source on GitHub ↗
(self, length)
Source
from the content-addressed store, hash-verified
15
self.turtle.left(90)
16
17
def
draw_triangle(self, length):
18
for
_ in range(3):
19
self.turtle.forward(length)
20
self.turtle.left(120)
21
22
23
def
main():
Callers
1
main
Function · 0.95
Calls
2
left
Method · 0.80
forward
Method · 0.45
Tested by
no test coverage detected