Jeroo And Loop

Assignment  While_and_flower:  

  • Create a map with flowers at (0,3) , (0,22) and ( 0 , 23)
  • start at  (0,0)
  • end at (0,22)
  • use 1 loop
  • do not pick up any flowers

The map

 

jeroo_and_2

 

Replace the question marks above with relative directions.jeroo-and-example_animation


 

Write a single loop that takes the jeroo from the top left corner to the bottom right.

 

As shown in the animated gif below

jeroo-and-loop

 

 

Start in the top right and end next to the net on the bottom as shown here :

jeroo-negate-and_net_R