警告:此程序有一个错误,需要进行调试!

规则:向下移动指令具有整数参数。整数为蓝色,并且前后没有引号。

  • 点击 运行 并读取弹出的错误信息。
  • 调试程序,使刺猬向下移动 150 个像素。

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

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