Advertisement
Guest User

Untitled

a guest
Dec 16th, 2019
472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. from robot import *
  2.  
  3. instructions = [(1,3),
  4. (1,2),
  5. (3,2),
  6. (1,3),
  7. (2,1),
  8. (2,3),
  9. (1,3),
  10. (1,2),
  11. (3,1),
  12. (1,2),
  13. (3,1),
  14. (2,1),
  15. (3,2),
  16. (1,3),
  17. (1,2),
  18. (3,1),
  19. (1,3),
  20. (2,1),
  21. (3,1),
  22. (2,3),
  23. (1,3),
  24. (1,2),
  25. (3,2),
  26. (3,1),
  27. (2,3),
  28. (2,1),
  29. (3,1),
  30. (2,3),
  31. (1,2),
  32. (1,3),
  33. (2,1),
  34. (3,2),
  35. (1,2),
  36. (1,3),
  37. (2,1),
  38. (2,3),
  39. (1,3)]
  40.  
  41. for instruction in instructions:
  42. deplacer(instruction[0], instruction[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement