Ask Question
19 January, 07:42

Add a function named circle to the polygons module. This function expects the same arguments as the square and hexagon functions. The function should draw a circle. (Hint: the loop iterates 360 times.)

+4
Answers (1)
  1. 19 January, 10:40
    0
    Answer and Explanation:

    import Circle

    #include

    void main ()

    int t, length, n

    //for hexagon

    def hexagon (t, length, n):

    for _ in range (n):

    t. fd (length)

    t. lt (360 / n)

    square = Circle. Circle ()

    square. penup ()

    square. sety (-270)

    square. pendown ()

    hexagon (square, 30, 60)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Add a function named circle to the polygons module. This function expects the same arguments as the square and hexagon functions. The ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers