Coding Task: 05.03 Bouncing around the box!

Let’s make sure the ball can never escape our animation!

Your Task

Fill in the blanks and correct the code to produce an animated ball object that cannot leave the screen.

PyAngelo Reference Sheet

Remember to use the PyAngelo reference sheet to help you with your code! Click on one of the buttons below:

Requirements

  • The program should run without any errors.
  • The ball object should be animated.
  • The ball object should not be able to escape the canvas.

Scroll to Top