Commit 634ce9d8 authored by Grégoire PETIT's avatar Grégoire PETIT
Browse files

bon les indices sont explicites, et tout marche (sauf l'alt cf mail)

parent c2d1fd68
......@@ -149,11 +149,11 @@ for col in range(4422,4436): #pixels de rize
for line in range(2103,2218):
if [col,line] not in pixelOutOfRize:
print([col,line], 'pixel de Rize')
graphe[col//15][line//15][2][0]=graphe[col//15][line//15][0]
graphe[col//15][line//15][0]=0
if graphe[col//15][line//15][0] != 0:
print([col,line], graphe[col//15][line//15][0], 'pop')
test+=graphe[col//15][line//15][2][0]
graphe[line//15][col//15][2][0]=graphe[line//15][col//15][0]
graphe[line//15][col//15][0]=0
if graphe[line//15][col//15][0] != 0:
print([col,line], graphe[line//15][col//15][0], 'pop')
test+=graphe[line//15][col//15][2][0]
print("pop totale de Rize = ", test)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment