STEP 9: The entire game will be inside the while loop. It will repeat each time the user goes to the next level!

  • Enter 5 blank lines above stage.wait(1) in the while loop.
  • This space is where we will build the code for the game. It will run each time the while loop repeats!
  • Change the string in the stage.ask() to say "Are you ready for the next level?"
  • Click Run again to see the loop run. Remember to click Stop before submitting!

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)