how to make a triangle in python turtle code example
Example 1: how to make a star in python turtle
import turtle
t=turtle.Turtle()
for i in range(5):
t.begin_fill()
t.forward(75)
t.right(144)
t.end_fill()
Example 2: how to draw in python without turtle
print()
print()
#just use type to draw
Example 3: how to make a triangle in python turtle
import turtle
board = turtle.Turtle()
board.forward(100) # draw base
board.left(120)
board.forward(100)
board.left(120)
board.forward(100)
turtle.done()