第6步:创建一个变量来存储用户的答案。

现在我们将此列表留空,因为当循环问题列表时,我们会附上值。

  • 中,将 Empty List 拖动到程序底部。
  • 将列表名称更改为 user_choices


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)