STEP 16: Hm... Our squares are all in just one place. Let's spread them out across the stage!

  • In LOGIC and , drag Add Value indented twelve spaces to the bottom of the second loop.
  • Change the variable from my_var to x. (This should be outside the if-elif blocks, but within the second loop.)
  • Then, change the number 1 to the variable square_length.
  • This increments our x-coordinate for each column, starting from the left side at the end of the second loop.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)