STEP 2: Now let's display the weight of each animal.

  • Go to and drag two Variable Display commands to the bottom of your program.
  • Name one display dino_display. Change the variable from my_var to dino and place it at (150, 50).
  • Name the other display kitty_display. Change the variable from my_var to kitty and place it at (-100, 50).
  • Drag Wait to the bottom of your program.

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)