The companion repository for the Python 101 course by Fynes Forge.
git clone git@github.com:<your-username>/python-101.git
cd python-101# Standard venv
python -m venv .venv
source .venv/bin/activate # macOS / Linux
.venv\Scripts\activate # Windows
# Or with uv (Grade 8)
uv syncpip install -r requirements.txt
# or
uv syncSave your solutions in exercises/grade-X/grade_X.py as you go. Each file has the exercise questions as comments — write your answers directly below them.
python-101-repo/
├── README.md
├── CONTRIBUTING.md
├── .gitignore
├── requirements.txt
├── pyproject.toml
├── resources/
│ └── employees.csv ← sample data used across exercises
├── exercises/
│ ├── grade-1/grade_1.py
│ ├── grade-2/grade_2.py
│ ├── grade-3/grade_3.py
│ ├── grade-4/grade_4.py
│ ├── grade-5/grade_5.py
│ ├── grade-6/grade_6.py
│ ├── grade-7/grade_7.py
│ ├── grade-8/grade_8.py
│ └── grade-9/
│ ├── grade_9_pandas.py
│ └── grade_9_polars.py
└── .github/
├── workflows/ci.yml
├── ISSUE_TEMPLATE/
└── PULL_REQUEST_TEMPLATE/
| Grade | Topic | Key Concepts |
|---|---|---|
| 1 | Introduction | Variables, data types, print, input |
| 2 | Control Flow | Operators, if/elif/else, for, while |
| 3 | Data Structures | Lists, tuples, dicts, sets |
| 4 | Functions | def, parameters, return, scope, lambda |
| 5 | Files & Modules | File I/O, CSV, imports, packages |
| 6 | Error Handling | Exceptions, try/except, raise, debugging |
| 7 | OOP | Classes, methods, inheritance, dunder methods |
| 8 | Package Management | pip, venv, uv, requirements.txt, pyproject.toml |
| 9 | Extras | Pandas, Polars |
- Each exercise file has questions as comments — write your answer directly below.
- Run your file often:
python exercises/grade-1/grade_1.py - If something goes wrong, read the traceback bottom to top — the last line tells you the error.
- Commit your work as you go. Your fork becomes a portfolio of your progress.
Contributions are welcome. Please read CONTRIBUTING.md before opening a PR.