警告:此程序有一个错误,需要进行修复!
规则:你必须在分配指令之前先创建精灵。程序按从上到下的顺序运行

  • 点击 运行 并读取弹出的错误信息。
  • 修复代码的顺序,以在精灵移动之前先创建。

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

stage.set_background("baseballfield") sprite.set_speed(1) sprite.move_up(50) sprite.move_right(75) sprite.move_left(200) sprite = codesters.Sprite("person2")
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)