PASO 11: ¡Ahora construyamos la función que nos dirá el peso de nuestros personajes en Júpiter!

  • Ir a . Arrastre Define Function with Parameters al final de su programa.
  • Cambie el nombre de la función a get_jupiter_weight .
  • Cambie el primer parámetro de la función a earth_weight . Elimine el segundo parámetro de la función.
  • Ir a y arrastre Float Variable 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)