How about a game of tic-tac-toe? - Canonic coding practice in Python, in three versions from simple to a bit more advanced and a notebook with pseudocode.
with python 3.11.3
pyenv local 3.11.3
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt