Activity: Moon Kitten

STEP 9: Let's pass the variable kitty into the function! Remember, kitty holds the weight of a kitten on Earth.

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

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support