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

This commit is contained in:
Stefan Harmuth 2021-12-04 08:09:20 +01:00
parent 8baf191718
commit 1c0ce1b3d2

View File

@ -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):