Coding Task: 04.04 Bouncing Text (Extension)

In this extension task, you will make changes to an animation of text bouncing around the screen. Start off by running the code and watching the animation! Once you’ve done that, read the instructions below.

Your Task

In the editor below, look through the existing code and see if you can make the changes listed in the requirements section below. Don’t worry if you break the code! Just click the Reset button to start again.

Python Reference Sheet

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


  • The program should run without any errors.
  • Edit the code to ask the user to enter their name, then bounce the name instead of the original text!
  • Edit the code to make the speed faster or slower.
  • Edit the code to make the text move and bounce only horizontally (left to right).
  • Edit the code to make the text move and bounce only vertically (top to bottom).


Below is an example of how the program should run:

Scroll to Top