STEP 15: If a value in our list is 3, then that square is the goal and we should set its color to green.

  • In LOGIC and , drag elif underneath your last elif. It should be indented twelve spaces.
  • Change choice to column and "no" to 3.
  • In GRAPHICS and , drag Set Color indented sixteen spaces into your if statement.
  • Nice! Now just change the string inside the parentheses from "red" to "green"!

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)