PASO 2: ¡Configuremos nuestra función! Todavía no lo veremos ejecutarse: recuerda, tenemos que llamar a las funciones para ejecutarlas.

  • En LÓGICA, vaya a y arrastre Define Function with Parameter a su programa.
  • Cambia el nombre de la función de my_function() a pig_latin() .
  • Cambie el nombre de la variable del parámetro de my_var a word .
  • Ir a y suelte String Variable DENTRO de la función.

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)