第 11 步:让我们将每个数字的计数存储在一个新列表中。

请记住,变量名不需要引号,但需要在list中用逗号分隔。

  • ,将List of Integers拖到程序底部。
  • 将列表的名称更改为counts
  • 将列表中的值更改为存储每个字母计数的变量: a_numb_numc_numd_num

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)