STEP 14: Let's say "hello from mars" in Pig Latin. It's time for the word "from"!

  • From , drag Return Variable to the bottom of your program.
  • Change the name of the return variable from my_var to second_word.
  • Pass the argument "from" to the function pig_latin().

The return variable second_word will store "romfay". Open the print console to watch the function run!

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)