STEP 14: Now let's show how much the T-Rex would weigh on Jupiter! Use the moon code as a guide.

  • From drag out Variable Display and rename the display dino_jupiter_display.
  • Change the variable argument in .Display() from my_var to dino_jupiter_weight.
  • Place the display at (-100, 50).

The 3 different displays for the T-Rex show us the T-Rex's weight on earth, the moon, and Jupiter!

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)