第 18 步:但是等等!鲨鱼和鳗鱼没有鳞片,但在水中产卵(有点)。

如果or的任一侧只有一个语句为True ,则逻辑运算符or返回True

  • ,将if or indented 拖动到classify_animal()的内部和底部。
  • 将变量choice的两个实例都更改为animal
  • 最后,在,拖动 if 语句内缩进的String Variable

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
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)