Advent of Code 2021 Day 2, Python Solution

preview_player
Показать описание
Uses a generator (yield), type hints, and the new match statement.
Рекомендации по теме
Комментарии
Автор

I haven't read from a file in so long, I thought the problem would take 5 minutes but it ended up being 30 just because I was looking up the best way to read the file. Really cool solution!

gouf_respecter