Ask Question
17 July, 16:19

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.)

+2
Answers (1)
  1. 17 July, 20:11
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers