Advertisement
Guest User

Untitled

a guest
Dec 14th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. from robot import *
  2. for i in range(0,11):
  3. while not surObjet() or surTrou():
  4. haut()
  5. if bordGrilleAuDessus()==1:
  6. droite()
  7. while bordGrilleEnDessous()!=1:
  8. bas()
  9. ramasser()
  10. while bordGrilleEnDessous()!=1:
  11. bas()
  12. while not surTrou() or surObjet():
  13. haut()
  14. if bordGrilleAuDessus()==1:
  15. droite()
  16. while bordGrilleEnDessous()!=1:
  17. bas()
  18. deposer()
  19. gauche()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement