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

  1. Change the range() in the for loop generator to give the user more or fewer guesses!
  2. Change the symbol that forms hidden_string (you will also need to change the last if-statement)!
  3. Add a Say just before break to tell the user "You guessed my word!".
  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)