Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from robot import *
- x=0
- y=0
- bas()
- for i in range(13):
- if surRond():
- x=x+1
- elif surCarre():
- y=y+1
- droite()
- for i in range(13):
- if x>y:
- gauche()
- if surRond():
- ramasser()
- haut()
- deposer()
- bas()
- if y>x:
- gauche()
- if surCarre():
- ramasser()
- haut()
- deposer()
- bas()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement