Question: Part 1: Spiral Write a program named Lastname_firstname_spiral.py that draws polygonal spirals. Your program will ask for a number of sides, how many times to

Part 1: Spiral Write a program named Lastname_firstname_spiral.py that draws polygonal spirals. Your program will ask for a number of "sides", how many times to spiral (the total number of lines to draw), and what percentage of increase to use for each arm of the spiral. The length of the first arm of the spiral is 10, with a heading of zero degrees. Figure 1a shows a spiral with 4 sides, 60 iterations, and a 5% increase in length. Figure 1b has 8 sides, 50 iterations, and a 3.5% increase in length. Figure 1c has 12 sides, 60 iterations, and a 3% increase in length. The pensize() was set to 2 on all these spirals; you can use pensize(1) if you prefer. Figure la Figure 1b Figure 1c
Step by Step Solution
There are 3 Steps involved in it
To accomplish this task you can use the turtle module in Python which is great for drawing shapes an... View full answer
Get step-by-step solutions from verified subject matter experts
