第 2 步:让我们设置一个变量来保存实验次数,并设置一个空列表来保存所有事件结果。

  • 在逻辑中,单击.拖出Integer Variable
  • 将名称更改为num_experiments
  • 在主题中,单击.拖出Empty Data List
  • 将名称更改为outcome_list

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)