Skip to content
Snippets Groups Projects
Select Git revision
  • bfb7d4da2cf4f1bf1870e44b30ed653e80ea7397
  • master default protected
2 results

test_lifoqueue.py

Blame
  • load.py 580 B
    labyrinthe = [[0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 1, 0, 0, 0, 0, 0],
                  [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
    
    def affiche_labyrinthe(l):
        print('\n'.join([''.join(['{:4}'.format(item) for item in row]) 
            for row in l]))