Update day03.py
This commit is contained in:
parent
5b644a7db6
commit
0737b93985
@ -11,7 +11,7 @@ def read_sample():
|
|||||||
return sample
|
return sample
|
||||||
|
|
||||||
def slope(mv_x, mv_y, sample):
|
def slope(mv_x, mv_y, sample):
|
||||||
"""Partie 1 du défi"""
|
"""Compte le nombre d'arbres que se prend le marcheur"""
|
||||||
pos = (0,0)
|
pos = (0,0)
|
||||||
n1 = len(sample)
|
n1 = len(sample)
|
||||||
n2 = len(sample[0])
|
n2 = len(sample[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user