Created by Eric Wastl, Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
You don't need a computer science background to participate - just a little programming knowledge and some problem solving skills will get you pretty far. Nor do you need a fancy computer; every problem has a solution that completes in at most 15 seconds on ten-year-old hardware.
This project was created on a Macbook running MacOS Mojave.
This project uses Python 3.8 and Anaconda 4.7.12.
This project relies on you using the environment.yml
file to recreate the ac2019-env
conda environment.
To activate ac2019-env
in your local environment, please run the following commands:
# create the ac2019-env conda environment
# note: this make take anywhere from 1-5 minutes
conda env create -f environment.yml
# activate the ac2019-env conda environment
conda activate ac2019-env
To run the Python code, please type the following into the Terminal/Command Line:
# note: call the python program followed by the relative path to
# the particular python file
python day_02/part_02_solution.py