Answers for "draw triangle turtle python"

1

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()
Posted by: Guest on January-29-2021
0

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)
Posted by: Guest on October-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language