EXTEND: Now modify and extend your program! Be sure to meet these minimum technical requirements:

  1. Change the sprite image label or background image.
  2. Change the arguments in random.randint() so that the range goes from 1 to 5.
  3. Add a fifth if statement to test if rand_answer is 5 and add a new message from the wizard!
  4. Click Submit to continue!

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)