Answers for "how to make triangle in python 3"

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 "how to make triangle in python 3"

Python Answers by Framework

Browse Popular Code Answers by Language