第 5 步:使用平面上的坐标尝试让三角形到达标有目标的点的坐标!

  • 更改命令中的0 , 0spritego_to( 0 , 0 )所以三角形的红色顶点落在球门上。
  • 运行您的程序以查看您的更改。
  • 当您获得匹配(和绿色消息)时,请单击提交接下来继续。

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

# stage.create_grid_overlay(line_separation, "line_color") stage.create_grid_overlay(50, "grey") sprite = codesters.Sprite("triangle") sprite.go_to(0,0)
  • Run Code
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)