STEP 11: Let's see what our variable label_2 is storing each time we run the program.

  • In the GRAPHICS tab, go to and drag in Say.
  • Replace the string in .say() with label_2.

The sprite now says the word dice followed by a number!

Run the program more than once to see the difference in what the sprite says each time.

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)