第 7 步:我们不想忘记为我们的披萨挑选配料!让我们在列表中添加一个项目。

将值添加到列表中的一种方法是在最后一个值之后添加逗号。但请确保不要删除括号!

  • "cheese"之后输入"peppers"
  • 确保"peppers"在方括号[ ].
  • 并确保"cheese""peppers"之间有一个逗号。

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)