El tercer paso en Pig Latin es añadir "ay" al final de la palabra.

  • Desde , arrastra otro Append ADENTRO de la función.
  • Utiliza el comando .append() para añadir el string "ay" al final de la lista letters .

Si hemos pasado "hello" a la función, letters almacenaría ahora los valores: ['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
  • Enviar Trabajo
  • Actividad Siguiente
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)