Question: PYTHON & TURTLE GRAPHICS write a non pure function (procedure) named drawstar that takes no arguments and draws a 5 pointed star using python turtle

PYTHON & TURTLE GRAPHICS

write a non pure function (procedure) named drawstar that takes no arguments and draws a 5 pointed star using python turtle graphics : the drawsar procedure should do the following : open a turtle dialogue box and have the user enter the length of each side. draw a five pointed star with each side length as entered by the user. (hint: the internal angle of each points is 36 degrees) to be honest, i really want to know how to do this on my own so if anybody could guide me it would be great. I am confused on how to assign the side length to the user input box, which is the turtle.numinput() command i believe. PLEASE help and please try to explain..

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 Databases Questions!