第 6 步:在此程序中,您将从三个列表中选择六个图像,每个列表中的一个组成一个混合角色。我们将从头部的图像标签列表开始!

  • ,将另一个List of Strings拖到程序的顶部,就在stage_list
  • 将新列表名称从my_list更改为head_list
  • head_list 6 个字符串值: "head1" "head2" 、 "head2" 、 "head3 "head3""head4""head5""head6"

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", "pluto", "space", "city"] ######################################################################## # PLACE ALL OTHER CODE BELOW THIS # ######################################################################## stage_image = stage_list[1] stage.set_background(stage_image)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)