STEP 2: Let's display the T-Rex's earth weight. Later, we'll create new displays for the dino's weight on other planets!

  • From add a Variable Display.
  • Change the display's variable name from my_display to dino_earth_display.
  • Change the variable argument in .Display() from my_var to dino_earth_weight.
  • Place the display at (-100, 150).

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)