STEP 9: What's kitty's moon weight? Time to find out!

  • Go to and drag another Return Variable to the bottom of the code. This is our call line!
  • Change the return variable name from my_var to kitty_moon_weight.
  • Change the function name from my_function() to get_moon_weight() to call the function!
  • Add 1 (the kitten's earth weight) as the argument in the function call. Hint: Put it in the empty parentheses.

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)