PASO 4: ¡Creemos una función que calcule cuánto pesarían el T-rex y el gatito en la luna!

  • Ir a y arrastre Define Function with Parameter .
  • Cambie el nombre de la función de my_function() a get_moon_weight() .
  • Cambie el nombre de la variable de parámetro de función de my_var a earth_weight .
  • En GRÁFICOS, de suelta Moon dentro de la función. Debe tener un ···· delante de él.

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)