Question: Write a function named drawSquares that calls drawSquare to draw a specified number of squares. The function drawSquares takes four parameters: a turtle t an
Write a function named drawSquares that calls drawSquare to draw a
specified number of squares.
The function drawSquares takes four parameters:
a turtle t
an integer size
an integer num, the number of equal signs to draw
an integer angle, the clockwise rotation between successive squares
This is the function that will be called in the problem that I made, not sure how to do the rest
import turtle s = turtle.Screen() t = turtle.Turtle()
def drawSquare(t, length): for i in range(4): t.forward(90) t.right(90)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
