STEP 13: Now we can give the user a hint.

Our program will tell the user if their guess was too high and then go back to the loop to let them guess again.

  • Replace the string in .say() with "Too high!".
  • Go to and drag out Wait. Drop it INSIDE the if-statement, right below .say().
  • The .wait() should have a ········ in front of it.

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)