第12步:在最后一个语句中使用变量 fav_color 来完成精灵的代码行。

记住,我们使用加号(+)将变量 fav_color 添加到字符串。 变量名称中间使用引号。

  • fav_color 添加到最后一个.say() 指令的文本中。

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)