Deviopath › Karel

Both Ends

Easy · Commands

Karel starts in the middle of the row. Put a ball on the last square on the right and on the first square on the left, then come back to the middle.

Karel has to turn around twice here. Write your own turnAround() function, the same way you wrote turnRight(), and call it each time.

Next: Move the Ball