第 2 步:我们将所有问题创建为字符串变量,然后将它们存储在列表中以便稍后循环!

确保在一个字符串中键入问题和所有四个答案选项。

  • 单击逻辑,转到并添加String Variable 。将变量名称更改为ques_1
  • 将字符串更改为"Where is your favorite place to be? a) forest b) space c) sports field d) castle"


    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)