Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python how to draw triangle

import turtle
 

 
turtle.forward(100) # draw base
 
turtle.left(120)
turtle.forward(100)
 
turtle.left(120)
turtle.forward(100)
 
turtle.done()
 
PREVIOUS NEXT
Tagged: #python #draw #triangle
ADD COMMENT
Topic
Name
5+7 =