Coding for KidsCoding for Kids
Creative LevelsChallengesTeacher's Guide
Vote for features
Python Development Course
Chapter
>
Level

Introduction to Python
Pushing objects

Objective

Push rocks out of your way so you may walk to the exit and complete the level.

Oh no, there’s rocks in the way to the exit, no worries, you can push them.

Use the push() function to push the rocks out of your way, be sure to be facing the rock before you give the command.

Make your way to the star to complete the level, push all the rocks in the way like this: player.push().

Code book