Assignment 8: Octagon using loops
Description
When drawing shapes it can be observed that the process is repetitive, a series of forwards and turns. The angle by which to turn is related to the number of sides.
Task
Using Python Turtle, draw an octagon using a loop. As part of the program, create variables for side and angle. Angle is equal to 360 divide by sides. By creating these variables, the shape can easily be modified by simply changing the value of side.
Post a screen shot of the octagon.
Post a screen shot of the code. Provide comments for each variable.
Questions