From 1c0ce1b3d2cb788c1bff57a935c04111cf46a32d Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Sat, 4 Dec 2021 08:09:20 +0100 Subject: [PATCH] day04: hey, el stupido, split() defaults to "any number of whitespaces" ... and ignores leading whitespaces ... --- day04.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/day04.py b/day04.py index d3f83cc..0de481d 100644 --- a/day04.py +++ b/day04.py @@ -4,7 +4,7 @@ from typing import Any class BingoCard: def __init__(self, numbers: str): - numbers = list(map(int, numbers.strip().split())) + numbers = list(map(int, numbers.split())) self.fields = {} self.checked = {} for y in range(5):