WARNING: This program does not work! It has a bug, so we need to debug it!

RULE: You must have a colon ( : ) at the end of the line introducing the for loop.

  • Click Run and read the error message.
  • Insert a colon at the end of the first line of the for loop like this: for·counter·in·range(10):
  • Debug the program so that the sprite jumps up and down on the moon.


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)