STEP 7: It's time to loop. Just like you can loop through a list, this loop will run once for every letter in the string!

  • Go to and drag Loop through String to the bottom of your program.
  • In the loop creation line, change the string "word" to the variable password.
  • Go to GRAPHICS, click and drop Turn Right indented INSIDE the loop.
  • Change the argument in .turn_right() to 360 so the sprite flips every 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)