A collection of my python coding challenges and practice exercises, focusing on problem solving, data structures, and algorithms.
1) Clone and enter the repo
git clone https://github.com/aleattene/python-challenges.git
cd python-challenges2) (optional) create & activate a virtual environment
python -m venv env_name
(mac) source env_name/bin/activate
(win) env_name\Scripts\activate3) Install dependencies
pip install -U pip
pip install -r requirements.txt4) Run all tests
pytest -qor run tests for a specific area
# Advent of Code
pytest advent-of-code -q
# Everybody Codes
pytest everybody_codes -q
# Codewars
pytest codewars -q
# Edabit
pytest edabit -q
# Python Workbook
pytest learning/python-workbook -qpython-challenges/
├─ advent-of-code/                # Advent of Code solutions + tests
├─ codewars/                      # Codewars kata + tests
├─ edabit/                        # Edabit kata + tests
├─ everybody_codes/               # Everybody Codes quests + tests
└─ learning/
   └─ python-workbook/            # Python exercises