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

记住,变量名称不需要引号,但是在列表中需要用逗号分隔。

  • 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)