STEP 13: We're almost done with ask_for_password()! Let's use another keyword inside our while loop.

continue tells a while loop or for loop to skip all code underneath it and go to the loop's beginning.

  • In , drag Else inside ask_for_password() and your while loop.
  • It should be underneath your if statement and indented 8 spaces.
  • In , drag Continue inside your else statement. It should be indented 12 spaces.

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)