STEP 11: Are the first letters of each word being added to the password? Let's have the sprite confirm!

  • Click GRAPHICS, then and add Say for Time indented in the loop.
  • Change the string in .say() to password, and change the wait time from 2 to 1.
  • Click Run and enter a website, then enter a descriptive sentence. Notice how the sprite says the password each time the loop runs! Notice how the loop adds one initial letter to the password each time the loop runs.

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)