第6步:是时候添加第一个 if 语句了!确保通过多次运行程序来测试你的 if 语句。

  • 在 LOGIC 中,点击 ,将 If 拖动到程序底部。
  • 将 if 语句中的测试变量更改为 rand_answer
  • 将 if 语句中的测试值更改为 1
  • 点击 ,将 Say 拖动到 if 语句中。将前面的名称更改为 tim

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)