STEP 16: Let's tell the user they are an astronaut and show them an astronaut sprite!

  • Change the string in .say() to "You are the astronaut!"
  • Drop Sprite at Position inside the if-statement. Change its variable name to result_sprite.
  • Change the .Sprite()'s arguments to ("astronaut1", 0, -100).

You could also use "astronaut2" as the image label instead!

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)