STEP 4: We need another if-statement to test if the player chooses paper.

  • Click LOGIC, then . Drag if into the bottom of your code. (It should be unindented!)
  • Change the test value from "yes" to "paper".
  • Click GRAPHICS, then . Drag Paper indented under the new if-statement.

The if-statement must be unindented. If the first conditional is false, the program skips to the next unindented code.

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)