15 步:当循环运行时,我们希望将每个值添加到列表中以保持记录并保持它们的顺序。

  • 点击.拖出Append并将其放入循环中。
  • 将前面的名称更改为expected_vals
  • .append()中的参数更改为theor_value

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)