STEP 9: Let's set up our second possible response!

  • Change the string in the new .say() to "Outcome unclear. Ask again later."
  • Test your if-statement by clicking Run until rand_answer equals 2. Tim should say "Outcome unclear. Ask again later."

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)