PREVIEW: Today you'll be calculating changing weights of a T-Rex and a kitten as they travel around our solar system!

  • Click Run to preview the solar system weight calculator you will be making today.
  • Lines 16 and 27 contain return statements.
  • Lines 18, 20, 29, and 31 contain return variables. Predict: What values are the return variables storing?
  • Click Submit and Next to move on!

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)