Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from robot import *
- instructions = [(1,3),
- (1,2),
- (3,2),
- (1,3),
- (2,1),
- (2,3),
- (1,3),
- (1,2),
- (3,1),
- (1,2),
- (3,1),
- (2,1),
- (3,2),
- (1,3),
- (1,2),
- (3,1),
- (1,3),
- (2,1),
- (3,1),
- (2,3),
- (1,3),
- (1,2),
- (3,2),
- (3,1),
- (2,3),
- (2,1),
- (3,1),
- (2,3),
- (1,2),
- (1,3),
- (2,1),
- (3,2),
- (1,2),
- (1,3),
- (2,1),
- (2,3),
- (1,3)]
- for instruction in instructions:
- deplacer(instruction[0], instruction[1])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement