SaveText.Ru

2
  1. if wall_from_right():
  2.     fill_cell()
  3.     move_down()
  4.     fill_cell()
  5.     move_right()
  6.     fill_cell()
  7.     move_up()
  8.     fill_cell()
  9. else:
  10.     fill_cell()
  11.     move_down()
  12.     fill_cell()
  13.     move_up( )
  14.     move_right()
  15.     fill_cell()
  16.     move_down()
  17.     fill_cell()

Share with your friends:

Print