STEP 15: Now we'll calculate and store the kitty's weight on Jupiter! Use the T-Rex's code as a guide.

  • From add another Return Variable and name it kitty_jupiter_weight.
  • Pass the variable kitty_earth_weight to the function get_jupiter_weight().

Since kitty_earth_weight is storing 1, passing kitty_earth_weight to the function is the same as passing in 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
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)