10 步:让我们计算其他字母的响应。最常见的选择将为我们提供测验结果。

  • 另外三个Get Count命令拖到程序底部。
  • 根据它存储的字母计数为每个新变量命名: b_numc_numd_num
  • 通过将my_list更改为user_choices将所有 .count .count()命令分配给user_choices
  • .count()中的每个参数更改为一个字母: " b""c""d"

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)