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

规则: 数字前后不应该有引号。例如,应输入 60 而不是 "60"

  • 点击 运行 查看弹出的错误信息,然后点击OK。
  • 修复程序,去掉数字前后的引号,就像这样:60
  • 点击 运行 以测试程序是否修复成功。如果修复成功,点击 提交 下一步

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

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