EXTEND: Now modify and extend your program! Make sure you meet these minimum requirements:

  1. Change the range in the random number generator to have the user guess from a wider range of values!
  2. Change the integer argument in the loop to give the user more chances to guess the secret number!
  3. Delete the line of code that creates the .display() that shows rand_num on the stage!
  4. Click Submit to turn in your work and go on.

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)