From 93c049ace1f81b1600346885810da28d0ba5b140 Mon Sep 17 00:00:00 2001 From: augustin64 Date: Wed, 1 Dec 2021 21:46:09 +0100 Subject: [PATCH] Update template --- utils/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):