logo CodeStepByStep logo

stairs2c

Language/Type: Python DrawingPanel loops graphics
Related Links:

Write a function named stairs2c that is a modified version of your stairs function from the previous exercise that draws the output shown below. Modify only the body of your loop. (You may want to make a new table to find the expressions for x, y, width, and height for each new output.)

expected output
Function: Write a Python function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.