Triangle
Task 1
Create the Python program below to draw a triangle.
from turtle import * screen = getscreen() tom = Turtle() tom.forward(200) tom.left(120) tom.forward(200) tom.left(120) tom.forward(200)
Task 2
Create a new program that will draw the triangle shown.
from turtle import * screen = getscreen() tom = Turtle() tom.forward(170) tom.left(150) tom.forward(200) tom.left(120) tom.forward(100)
Challenges
Write programs that generate the graphics shown below. An animated GIF shows one possible drawing order, but your program does not need to follow that exact sequence.