19 lines
393 B
Python
19 lines
393 B
Python
![]() |
def do_robin():
|
||
|
if object_here():
|
||
|
take()
|
||
|
else:
|
||
|
put()
|
||
|
|
||
|
while front_is_clear():
|
||
|
do_robin()
|
||
|
move()
|
||
|
do_robin()
|
||
|
|
||
|
|
||
|
################################################################
|
||
|
# WARNING: Do not change this comment.
|
||
|
# Library Code is below.
|
||
|
################################################################
|
||
|
def turn_around():
|
||
|
turn_left()
|
||
|
turn_left()
|