第16 步:使用函数中的信息,让我们使用逻辑来判断我们的动物是否是鸟。
- 从,将if and内部拖动到classify_animal()的底部。
- choice1 == "yes"更改为not has_hair和choice2 == "no"更改为warm_blooded 。
- 在,拖动 if 语句内缩进的String Variable 。
- 最后,将animal_class my_var "This is a string."到"bird" 。
To navigate the page using the TAB key, first press ESC to exit the code editor.