Activity: Moon Weight

STEP 7: Our return variable holds the value that is calculated inside the function, T-rex's moon weight in this case.

  • Go to and drag Return Variable OUTSIDE the function.
  • Change the variable name to dino_moon_weight.
  • Change the function name to get_moon_weight.
  • Add dino as an argument in the function call. Hint: Put it in the empty parentheses.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support