警告:这个程序不起作用!它有一个错误或错误,所以我们必须调试它!

规则:坐标对中的数字必须用逗号分隔。

  • 点击运行并阅读弹出的错误信息。然后单击确定。
  • 修复程序,使.glide_to()命令中的坐标对在数字之间有逗号。
  • 点击运行以测试您是否修复了程序。固定好后点击提交接下来继续。

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

sprite = codesters.Point(0, 0) sprite.set_color("green") sprite.set_size(1.5) sprite.glide_to(-6 -4)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)