day04: hey, el stupido, split() defaults to "any number of whitespaces" ...

This commit is contained in:
Stefan Harmuth 2021-12-04 08:08:17 +01:00
parent a5c0c65466
commit 8baf191718

View File

@ -4,7 +4,7 @@ from typing import Any
class BingoCard:
def __init__(self, numbers: str):
numbers = list(map(int, numbers.strip().replace(" ", " ").split(" ")))
numbers = list(map(int, numbers.strip().split()))
self.fields = {}
self.checked = {}
for y in range(5):