第 7 步:干得好!不幸的是,你刚刚输入的问题不是,呃,问题。让我们做出更好的!

  • main()中,与has_scales ,将"question"更改为"Does your animal have scales?"
  • eggs_in_water行中,将"question"更改为"Does your animal lay eggs in water?"
  • 在有has_hair的那一行,将"question"改为"Does your animal have hair?"
  • 好的!通过我们的四个问题,我们将能够正确分类许多脊椎动物!

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)