STEP 5: Let's use our integer variable to store the number of points in our stars!

  • Change the name of the new variable from my_var to star_points.
  • Change the value of star_points to 10.

The variable star_points is an integer variable because it stores an integer number.

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)