Question: Write a function named window that produces the preceding figure as output. Use for loops to print the repeated parts of the figure. Once you

Write a function named window that produces the preceding figure as output. Use for loops to print the repeated parts of the figure. Once you get it to work, use one constant named SIZE in your function so that the size of the figure can be changed simply by changing that constant's value. The example output shown is at a constant size of 3, but if you change the constant, the figure should grow larger and wider proportionally.
+===+===+
|||
|||
|||
+===+===+
|||
|||
|||
+===+===+
(Do not define the constant in your own code; we will define it in our testing code, and you should use it in your function.)

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!