Работаю с Модулем Pillow, но проблема в том, что на винде знаю как к шрифтам путь указать а на Linux Mint нет, подскажите кто в курсе, на винде вот так: font_file = r’C:\Windows\Fonts\calibril.ttf’ ; и все работает
if wall_is_on_the_left() and wall_is_above(): while not wall_is_on_the_right(): move_right() move_down() elif (wall_is_on_the_left() and wall_is_above())==False: while not wall_is_on_the_left(): move_up() move_left() if wall_is_on_the_right() and wall_is_above(): while not wall_is_on_the_left(): move_left() move_down() elif (wall_is_on_the_right() and wall_is_above())==False: while not wall_is_on_the_right(): move_up() move_right()
отрабатывает секция когда робот находится в правом-верхнем-углу: elif (wall_is_on_the_left() and wall_is_above())==False: while not wall_is_on_the_left(): move_up()