python turtle draw equilateral triangle code example
Example: python turtle triangle
import turtle
s = turtle.getscreen()
q = turtle.Turtle()
q.fd(100)
q.rt(90)
q.fd(100)
q.lt(-130)
q.fd(150)
import turtle
s = turtle.getscreen()
q = turtle.Turtle()
q.fd(100)
q.rt(90)
q.fd(100)
q.lt(-130)
q.fd(150)