第 4 步:让我们创建一个函数来计算霸王龙和小猫在月球上的重量!
- 去并拖出Define Function with Parameter 。
- 将函数名称从my_function()更改为get_moon_weight() 。
- 将函数参数变量从my_var重命名为earth_weight 。
- 在图形中,从将Moon放入函数中。它前面应该有一个···· 。
To navigate the page using the TAB key, first press ESC to exit the code editor.