第3步:使用动作指令使精灵向下移动,通过更改数字控制距离。

我们将不包含小数和分数部分的数称为整数。整数通常为 蓝色 ,并且前后没有引号,例如: 123

  • 点击 ,将 Move Down 指令拖动到程序底部。
  • .move_down() 指令中的整数更改为 100

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

stage.set_background("concert") sprite = codesters.Sprite("person1")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)