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()
For this problem, you'll be working with a LightBot object named andy
.
Write code so that andy
moves forward four times, turns right, then moves forward four more times.
Your feedback will appear here when you check your answer.