Advertisement
Guest User

Untitled

a guest
Nov 14th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. def task_7_5():
  2. move_right()
  3. fill_cell()
  4. m=1
  5. n=0
  6. while not wall_is_on_the_right():
  7. for i in range(m):
  8. if not wall_is_on_the_right():
  9. move_right()
  10. n+=1
  11. if n==m:
  12. fill_cell()
  13. n=0
  14. m+=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement