Question: Write a function that draws a regular polygon. The function takes two arguments: a turtle object, and the number of sides in the polygon. Define
Write a function that draws a regular polygon. The function takes two arguments: a turtle object, and the number of sides in the polygon. Define a main() function that prompts the user for the number of sides in the polygon, the calls the function to draw the polygon in a turtle graphics window. Create a .py file using a text editor, and submit your tested Python code as an attachment to a WAMAP message to me
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
