123

11
mail@pastecode.io avatar
unknown
python
2 years ago
352 B
3
Indexable
Never
#!/usr/bin/python3

from pyrob.api import *

n=15
@task(delay=0.05)
def task_4_11():
    for i in range(n):
        for j in range(n):
            if not wall_is_on_the_right():
                move_right()
                if (i>j):
                    fill_cell()

        move_left(n)
        move_down()


if __name__ == '__main__':
    run_tasks()