write my assignment 2313

USING PYTHON AN TURTLE

11-Write a function named regularPoly that draws a regular polygon(all sides equal and all angles equal) using three paramers. 1-t a turtle that is used for drawing 2-sideLen the length of a side of the regular polygon and 3- numsides the number of sides of the regular polygon.When the function regularPoly returns t should be in its initial position an orientation. do not make any assumptions about the initial position and orientation of t. hint:while drawing the polygon. the turtle must turn a total of exactly 360 degrees.

11b- Write code that performs the following operations

1-import turtle

2-create a screen and a turtle

3

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Comments are closed.

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp