第 13 步:让我们使用循环来创建期望值列表。所有命令都应该进入您创建的循环中。

我们将通过将理论概率乘以实验次数来找到预期的发生次数。

  • 在逻辑中,单击.拖出Loop through List
  • my_list更改为theor_prob
  • 点击.在循环中拖出Multiplication

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)