STEP 5: Let's make sure our variable name is something meaningful to help keep our program organized!

  • Change the name of the random variable from my_var to rand_num.
  • Change the variable argument in .Display() to rand_num.

Variable names should always be descriptive and explain what value the variable is storing. This makes the program easier to understand and debug.

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)