第 7 步:现在我们可以设置循环,该循环将为列表quiz中的每个问题运行一次。

测验列表中的每个值都是一个问题。

  • 并将Loop through List拖到程序的底部。
  • 将循环值更改为question 。将循环列表更改为quiz
  • Ask拖放到循环中。它前面应该有一条路路路

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)