PASO 15: ¡Ahora calcularemos y almacenaremos el peso del gatito en Júpiter! Usa el código del T-Rex como guía.

  • Desde agregue otra Return Variable y asígnele el nombre kitty_jupiter_weight .
  • Pase la variable kitty_earth_weight a la función get_jupiter_weight() .

Dado que kitty_earth_weight está almacenando 1 , pasar kitty_earth_weight a la función es lo mismo que pasar 1 .

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)