第 7 步:让我们设置向导的第一个响应!

  • .say()中的字符串更改为"Definitely!" .
  • 测试你的 if 语句!继续点击运行直到rand_answer等于1 。巫师应该说“一定!”

请注意,如果rand_answer为 1,则不会发生任何事情。我们需要编写更多代码来改变它!

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)