diff --git a/utils/template.py b/utils/template.py index 33b9dad..7f71960 100755 --- a/utils/template.py +++ b/utils/template.py @@ -7,7 +7,7 @@ def read_sample(): """récupère les entrées depuis le fichier texte correspondant""" with open('inputs/dayDAY.txt', 'r') as f: sample = f.read().split('\n') - sample = [int(i) for i in sample if i != ''] + sample = [ i for i in sample if i != '' ] return sample def part1(sample):