第 5 步:让我们将所有问题放入一个列表中,以便稍后循环查看。

存储在列表中的变量没有引号,但仍需要用逗号分隔。

  • 并拖出Empty List
  • 将列表的变量名称更改为quiz
  • 在列表括号之间键入我们的问题变量: ques_1ques_2ques_3ques_4ques_5


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)