STEP 16: Now we'll calculate, store and say kitty's weight on Jupiter!

  • Drag another Return Variable OUTSIDE the function and name it kitty_jupiter_weight.
  • Pass the parameter value kitty to the function get_jupiter_weight.
  • Use Say to have kitty_sprite say its weight on Jupiter. Don't forget to use str().
  • Drag Jupiter into your program. Use Wait to have your program pause for 3 seconds.

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)