0
/ 1.0
For the question below, assume we are working with a simplified LightBot that can perform the following actions
- Turn Left
- Turn Right
- ...
For the question below, assume we are working with a simplified LightBot that can perform the following actions
Each of these actions is represented by a method call:
turnLeft()
turnRight()
moveForward()
jump()
Just like in the LightBot puzzles, there is also a method called spin()
that causes the LightBot to turn left four times.
In the code below, replace every left turn andy
makes with a right turn.
Your feedback will appear here when you check your answer.