39
1. The following situation uses a robot in a grid of squares. The robot is represented by a triangle which
is initially in the top right square and facing left. The robot may not travel through the black squares.
L
Create a solution that would enable the robot to be in the position found below using at least 2
loops.