Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Grégoire PETIT
DataScience
Commits
634ce9d8
Commit
634ce9d8
authored
Dec 01, 2018
by
Grégoire PETIT
Browse files
bon les indices sont explicites, et tout marche (sauf l'alt cf mail)
parent
c2d1fd68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Challenge3/code/challenge3.py
View file @
634ce9d8
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment