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
14c24b93
Commit
14c24b93
authored
Dec 03, 2018
by
Grégoire PETIT
Browse files
je push
parent
cee8db70
Changes
1
Hide whitespace changes
Inline
Side-by-side
Challenge3/code/challenge3.py
View file @
14c24b93
...
...
@@ -150,9 +150,10 @@ print(graphe[2103//15][4422//15], 'un de Rize juste avant') # Résultat [182480.
test
=
0
for
col
in
range
(
4422
,
4436
):
#pixels de rize
for
line
in
range
(
2103
,
2218
):
if
[
col
,
line
]
not
in
pixelOutOfRize
:
graphe
[
line
//
15
][
col
//
15
][
2
][
0
]
=
graphe
[
line
//
15
][
col
//
15
][
0
]
for
line
in
range
(
2103
,
2118
):
if
[
col
,
line
]
not
in
pixelOutOfRi44ze
:
tmp
=
graphe
[
line
//
15
][
col
//
15
][
0
]
graphe
[
line
//
15
][
col
//
15
][
2
][
0
]
=
tmp
graphe
[
line
//
15
][
col
//
15
][
0
]
=
0
if
graphe
[
line
//
15
][
col
//
15
][
2
][
0
]
!=
0
:
print
([
col
,
line
],
graphe
[
line
//
15
][
col
//
15
][
0
],
graphe
[
line
//
15
][
col
//
15
],
'pop avant'
,
[
col
,
line
])
...
...
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