A pebble in the shoe

A pebble in the shoe#

Run the following cell to reveal the second challenge. This time there is an

obstacle: a pebble blocks the road. You will have to pick it up and put it somewhere else.

Hint: refer back to the getting started sheet for

an example and consult the documentation.

Note: the ant cannot open the door if it is carrying a pebble.

from laby.global_fr import *
Laby(niveau="1b")
debut()
### BEGIN SOLUTION
avance()
droite()
avance()
prend()
droite()
pose()
gauche()
avance()
avance()
avance()
gauche()
avance()
droite()
### END SOLUTION
ouvre()
assert est_gagnant()