STEP 18: But wait! Sharks and eels don't have scales, but do lay eggs (kind of) in water.

The logical operator or returns True if just one statement on either side of the or is True.

  • From , drag if or indented inside and to the bottom of classify_animal().
  • Change both instances of variable choice to animal.
  • Finally, in , drag String Variable indented 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)