STEP 3: We are going to use this number to create a sprite that is a dice, so let's change the name of the variable to remind us of the value that it holds!

  • Change the name of the variable from my_var to roll1.
  • Make sure to also change the name of my_var to roll1 in sprite.say(my_var)!

You will get an error if you do not, because there is no longer any variable named my_var.

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)