• Drag another if to the bottom of your program, OUTSIDE of the other if statement.
  • Change the test variable to result and the test value to b_num.
  • Drag in Say and use this planner to type the result message.
  • Drag in an Astronaut sprite. Name it result_sprite. Change its position to (0, -3) with Go To.
  • Drag in Space and drop it inside the if 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)