第 6 步:让我们添加代码来设置我们的精灵,说出他们朋友最喜欢的颜色。

  • 并拖出Wait 。将其放在程序的底部。
  • ,拖出Say并将其放在程序的底部。
  • 通过将.say()前面的变量名称更改为student ,将 .say( .say()分配给student

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)