Answers for "draw triangle function python"

1

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()
Posted by: Guest on April-18-2021

Code answers related to "draw triangle function python"

Python Answers by Framework

Browse Popular Code Answers by Language