第6步:我们已经完成了功能!让我们再叫它三次,以询问有关该动物的其他三个问题。
- 在,将Call Parameters Into Variable中,在main().缩进三次。
- 将my_function的所有三个实例更改为ask_user_question 。
- 然后,将第一个my_var更改为has_scales ,第二个更改为eggs_in_water ,第三个更改为has_hair 。
- 将my_parameter1的所有三个实例更改为sprite 和my_parameter2到"question" 。
To navigate the page using the TAB key, first press ESC to exit the code editor.