STEP 8: You can use this symbol += to change the x-variable each time the loop runs!

  • In LOGIC, go to and drag out Loop with Range. Drop it at the bottom of your program.
  • Go to and drag Add Value inside the loop. Make sure it has a purple block ···· in front of it.
  • Change the variable name in the command to x. Change the integer in the command to 2.
  • Your command should look like this: ····x·+=·2¬

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)