第2步:让我们告诉用户游戏怎么玩!

  • 点击 并拖出 Say
  • .say() 前面的名称更改为 computer
  • .say() 中的字符串更改为 "I bet you can't guess my number! It's between 1 and 10."

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)