Question: Write a python function to draw a star, where the length of each side is 1 0 0 units. The function must take as parameters

Write a python function to draw a star, where the length of each side is 100 units. The function must take as parameters the x-coordinate and the y-coordinate of where the turtle is to start drawing the star going horizontally.(Hint: You should turn the turtle by 144 degrees at each point.) Now, prompt the user for the number of starts that they wish to see on the screen. When drawing the number of starts that the user desires, pick up the pen, move the turtle forward by 350 units, turn right by 144, put the pen down, and draw the next star.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!