Activity: Jupiter Return

STEP 13: Let's store and display the return value of the function. Use our moon code as a guide.

  • First, in GRAPHICS, go to and drag in Jupiter OUTSIDE the function.
  • From , drag Return Variable OUTSIDE the function.
  • Change the name of the return variable to dino_jupiter_weight.
  • Pass the argument dino to the function get_jupiter_weight.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support