STEP 9: Let's use a loop inside the function. Commands should have a green block and a purple block in front of them

  • Go to and drag Loop through List INSIDE the function.
  • Change the loop list name to letters.
  • Go to and drag Add Value INSIDE the loop.

This loop runs once for each letter in the list of letters. We'll use this to put our letters back into a single string.

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)