第10步:添加第三个随机响应。

  • If 中拖动到第二个 if 语句外部。
  • 将 if 语句中的测试变量更改为rand_answer,并将测试值更改为 3
  • Say 中拖出。
  • 将 .say() 前面的名称更改为 tim ,并将该字符串更改为 "Doubtful"

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)