STEP 9: The third step in translating to Pig Latin is to add "ay" to the end of the word.

  • From , drag another Append INSIDE the function.
  • Use the .append() command to add the string "ay" to the end of the letters list.
  • From use Print Variable to print letters. Notice that it now prints ['e', 'l', 'l', 'o', 'h', 'ay']!

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)