第 7 步:让我们在列表中使用循环来创建宠物!

  • 在逻辑中,单击.将Loop through List代码底部。
  • 在循环创建行上,将列表变量名称从my_list更改为pet_list
  • 在图形中,单击并在循环内缩进的Sprite at Position

为什么即使列表中有三个图像标签,我们也只能在舞台上看到编码器精灵?

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)