STEP 8: Let's have the t-rex say how much it would weigh on the moon!

  • Use a Say command to have the dino_sprite say how much it would weigh on the moon.
  • Your .say() command should read: .say("I'd weigh " + str(dino_moon_weight))

We can see that the dino only weighs 2129.6 pounds on the moon! Remember, that's 16% of its weight on earth!

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)