Climb the Stairs
Medium · Walls
Karel is at the bottom of a staircase made of walls. Climb one step at a time until there are no more steps in front of Karel, then pick up the ball waiting at the top.
Finish the climbStep function: go up one square, then one square east, ending up facing east. The staircases have a different number of steps in each world.
Next: Winding Corridor