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

math-parite.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]))