STEP 5: Let's set up the random variable for our program.

We use a variable to hold the random value generated. We'll change the params to get a number between 1 and 4.

  • Rename the random variable rand_answer.
  • Change the name of the variable in .Display() to rand_answer.
  • Change the second integer in .randint() to 4.


# THIS ACTIVITY IS IN PREVIEW ONLY MODE