STEP 11: Time for our last if statement! Remember, conditionals are in the LOGIC tab.

  • Drag if from . Drop it unindented outside of your second if statement.
  • Change the test variable from choice to rand_answer and change the test value from "yes" to 4.
  • Click the GRAPHICS tab, then drop Say from indented inside the if statement .
  • Change the string in the new .say() to "Signs point to yes".

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)