advent-of-code/2015-python
Anders Englöf Ytterström 28af87c00b Add the initial 2015 days in Python
These are already done in Elixir, so this is
just done for the flex.

Also, coming from Day 16-18 from 2023 calendar,
it is safe to say 2015 puzzles are easier and more
manageable.
2023-12-19 23:55:47 +01:00
..
solutions Add the initial 2015 days in Python 2023-12-19 23:55:47 +01:00
tests Solve 2015:15 "Science for Hungry People" 2023-11-20 20:54:43 +01:00
aoc.py Add the initial 2015 days in Python 2023-12-19 23:55:47 +01:00
README.md Solve day 5-6 2015 2022-11-25 12:03:57 +01:00

Advent of Code 2021

Solutions for #aoc2020 in Python 3 (3.8+).

Help scripts

Solve all puzzles:

python aoc.py

To bootstrap a new puzzle (creates inputs/<day_no>.txt, solutions/day_<day_no>.py och tests/test_day_<day_no>.py):

python aoc.py <dag_no> "<puzzle_name>"

Manually copy the puzzle input from https://adventofcode.com and paste it in inputs/<day_no>.txt to start coding.

Solve separate puzzle (replace XX with the puzzle number):

python -m solutions.day_XX

Run tests (replace XX with the puzzle number):

python -m unittest --locals -v
# or, if `pytest` is preferred:
pytest