第14 步:让我们完成爬虫的 if 语句!如果has_scales是True而eggs_in_water not True ,那么我们知道将动物分类为爬行动物。让我们确保我们在 if 语句下指定它!
- 在classify_animal()及其第二个if 语句中,将animal_class my_var
- 然后,将字符串从"This is a string."到"reptile" 。
To navigate the page using the TAB key, first press ESC to exit the code editor.