# shapes.py # --------- # By MWC contributors from turtle import * def triangle(side_length): forward (side_length) right (360/3) forward (side_length) right (360/3) forward (side_length) right (360/3) def rectangle(height, width): forward (width) right (90) forward (height) right (90) forward (width) right (90) forward (height) right (90)