第 2 步:我们需要再添加三个值来完成我们的列表。

请记住将列表值添加方括号[ ]中,并用逗号分隔每个列表值。

  • 添加值"pluto""space""city"
  • 点击提交接下来继续学习如何访问存储在列表中的特定项目。


To navigate the page using the TAB key, first press ESC to exit the code editor.

######################################################################## # PLACE LIST CREATIONS HERE # ######################################################################## stage_list = ["moon", "mars", "jupiter"] ######################################################################## # PLACE ALL OTHER CODE BELOW THIS # ########################################################################
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)