STEP 7: The first step in translating a word into Pig Latin is to remove the first letter from the word.

Assign .remove() by placing the name of the list before .remove() and the item to remove as the argument.

  • Go to and drag Remove INSIDE the function.
  • Use the .remove() command to remove the first_letter from the list letters.
  • From use Print Variable to print letters. Notice it now prints ['e', 'l', 'l', 'o']!

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)