While Loops
Walking Forward
Levels
Gary got himself trapped in a corn maze and needs your help. He has just enough signal to send and receive short text messages. You found the plans with the city and were able to determine where he is and what steps he needs to take to break free.
You can send him specific instructions of how he should move by printing out directions: “right”, “left”, “up”, “down” on each line.
The first section of the maze is simple, he needs to move right 6 times. So the program must output:
Experiments are available to members.
Become a Member