Activity: Debugging #2
I'M FINISHED WITH HOUR OF CODE!
img

WARNING: This program has a , which means that we need to debug it!

RULE: X-Y coordinate pairs follow this format (x, y). The x-coordinate is listed first, then the y-coordinate.

  • Click Run and watch the stage. Our sprite isn't reaching the goal!
  • Reverse the order of the numbers in the .glide_to() command to get your sprite to the goal point!
  • Run the program to test your changes. When you've fixed the program, click Submit and Next.

sprite = codesters.Point(0, 0) sprite.set_color("blue") sprite.pen_down() sprite.go_to(-2, 5)
Support