EXTEND: Now modify and extend your program! Make sure you complete these minimum technical requirements:

  1. Change the string in .ask() to ask the player to choose 3 other characters instead, like turtle, fish, shark!
  2. Change the test values in your first 3 if-statements to match the new choices in the .ask().
  3. Change the image labels in the .Sprite() commands in each if-statement to match the test value.
  4. When you finish, click Submit. There is no "Create" project for this lesson.

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
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)