Update day03.py

This commit is contained in:
augustin64 2021-12-01 22:29:02 +01:00 committed by GitHub
parent 5b644a7db6
commit 0737b93985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ def read_sample():
return 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)
n1 = len(sample)
n2 = len(sample[0])