Найти - Пользователи
Полная версия: Не могу решить задачу.
Начало » Python для новичков » Не могу решить задачу.
1
EugeneDemonSpeed666
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)
PEHDOM
 while True:
    if not wall_is_on_the_right():
        move_right(1)
JOHN_16
 while not wall_is_on_the_right():
        move_right(1)
EugeneDemonSpeed666
JOHN_16
Спасибо
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB