Lost 20 minutes in pt 1 not rembering that a print() of a zip consumes it and makes it not loopable: had I just used list(zip()) or removed the print, I would have had the answer in a decent time frame. Pt 2 was fun! I first experienced with ljust() and rjust(), only to realize the input was mixed. Instead, I threated the input as a grid. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| day_01.py | ||
| day_02.py | ||
| day_03.py | ||
| day_04.py | ||
| day_05.py | ||
| day_06.py | ||