STEP 5: We need a list of the animals that can appear during the game.

  • Go to and drag List of Strings into your program, anywhere above def·interval():¬
  • Rename my_list as animals
  • Inside the [ ] you only need 2 animals: ["fish1",·"shark"]. Make sure your comma is outside of the quotation marks!

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)