第 9 步:让我们在main()中调用我们的新函数!它应该将动物的类型作为string返回。
- 在,将Function Call into Variable内部和main()的底部。
- 重写函数调用,使其看起来像这样:
- my_var · = · classify_animal( warm_blooded , · has_scales , · eggs_in_water , · has_hair , · animal )
- 最后,将=符号左侧的变量从my_var为animal_class 。
To navigate the page using the TAB key, first press ESC to exit the code editor.