第 5 步:让我们在计算平均值之前显示total 。

  • 在,拖出Variable Display 。将名称更改为total_display 。
  • 将.display()命令中的变量更改为total 。
  • 将 x 坐标从-6更改为-3 ,将 y 坐标从5更改为4 。

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)