Question: Question 11b (12 points) Write a function named halfSquares that calls the function halfSquare repeatedly to draw connected half squares of increasing size. (You can

 Question 11b (12 points) Write a function named halfSquares that calls

Question 11b (12 points) Write a function named halfSquares that calls the function halfSquare repeatedly to draw connected half squares of increasing size. (You can use this technique to draw a spiral pattern,) The function hal/Squares takes four parameters: i. t, a turtle used for drawing ii. initial, the length of a side of the first half square ii. increment, the increase in side length of each successive half square iv. reps, the number of half squares to draw For example, the graphical output of the code below should look like the illustration at the right: import turtle s turtle.Screen () turt turtle . Turtle() halfSquares (turt, 20, 20, 10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!