第 11 步:我们最后一个 if 语句的时间到了!

  • 在程序底部创建一个新的if语句。
  • 将测试变量更改为rand_answer并将测试值更改为4
  • Say拖放到您的if语句中。
  • .say()前面的名称更改为tim并将字符串更改为"Signs point to yes"

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)