Question: PYTHON 4 Draw Shape Write a function that takes in both a turtle and number n. Your turtle should then draw an n-sided regular polygon,
PYTHON

4 Draw Shape Write a function that takes in both a turtle and number n. Your turtle should then draw an n-sided regular polygon, i.e. a shape with n sides that all are the same size and all the angles are the same angle. In other words, if n is 3, then your turtle will draw an equilateral triangle. If n is 4, your turtle should draw a square. My hint is that all the angles in the shape will add up to 360 degrees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
