Skip to content
Snippets Groups Projects
Select Git revision
  • ecaed8e3fe21297de87d217ede2d16a22e30dc13
  • main default protected
  • adam
  • thomas
4 results

app.js

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]))