Question: Python Problem 3 Write a function draw_star (side_length) which uses the turtle module to draw a 5-point star with given side_length. The interior angles of
Python
Problem 3 Write a function draw_star (side_length) which uses the turtle module to draw a 5-point star with given side_length. The interior angles of the points of the star are 36. Notice that the turtle must be made to turn the amount of the exterior angle in order to draw the line in the correct place. Below is given the function signature: def drav.star (side.length): #sig: int-> NoneType A call to draw_star(100) should produce the following figure Figure 1: Star
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
