PASO 9: El tercer paso para traducir al Pig Latin es agregar "ay" al final de la palabra.

  • Desde , arrastre otro Append DENTRO de la función.
  • Use el .append() para agregar la cadena "ay" al final de la lista de letters .
  • Desde utilice Print Variable para imprimir letters . ¡Observe que ahora imprime ['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)