第 9 步:让我们添加另一个函数参数,以便我们可以自定义背景、颜色和邀请名称!
- 查找函数定义: def · draw_card( theme , color ) : ¬
- 在color之后添加另一个名为name的参数。用逗号分隔它们。
- 找到函数 CALL: draw_card( "moon" , "aqua" ) ¶
- 为name添加一个值:字符串"Cadet Codester" 。用逗号将它与"aqua"分开!
To navigate the page using the TAB key, first press ESC to exit the code editor.