STEP 6: The user might choose moon instead! If the if statement is False, we want to check if choice is storing moon.

  • Click LOGIC, then , drag out elif and drop it not indented at the bottom of your program.

The elif statement should not have a yellow block in front of it! It should not be indented.

  • Change the test value from "no" to "moon".
  • Click GRAPHICS, then , drag out Moon and drop it indented INSIDE the elif statement.

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)