http://judge.mipt.ru/mipt_cs_on_python3/labs/lab2.html#id5 task_3_1
При этом коде робот врезается в стену:
if not wall_is_on_the_right():
while True:
move_right(1)
while True: if not wall_is_on_the_right(): move_right(1)
while not wall_is_on_the_right(): move_right(1)
JOHN_16Спасибо