Shape-O-Matic

Shape-O-Matic


Task 1:

Create a program that draws a square using a for loop.

import turtle as t

for i in range(4):
    t.forward(100)
    t.left(90)

Task 2:

Modify your program to create a triangle

import turtle as t

for i in range(4):
    t.forward(100)
    t.left(90)

Task 3:

Modify your program to create a pentagon

import turtle as t

for i in range(4):
    t.forward(100)
    t.left(90)

Exterior Angles


Sum of Exterior Angles

Final Code