CS50P: Introduction to Programming with Python
Complete solutions to Harvard's CS50P course, covering nine weeks from functions and variables through OOP, with a final project.
I worked through Harvard’s CS50’s Introduction to Programming with Python (David Malan’s course offered through edX) and published all nine weeks of problem set solutions as a structured reference repository. The course runs from first principles (functions, variables, conditionals) through progressively more demanding material each week, and I committed solutions week by week as I completed them.
The curriculum spans conditionals and loops in the early weeks, then moves into exception handling, working with third-party libraries, unit testing with pytest, file I/O, regular expressions, and object-oriented programming. Week 9 is a final project where you define the scope yourself; mine tied together the core concepts from the course into a standalone Python application.
Each week’s folder contains the problem set solutions exactly as submitted, along with any supporting files the problems required. The repository has accumulated 19 stars on GitHub, which suggests it’s been useful to other learners working through the same material, something I didn’t originally design for but appreciated seeing happen. If you’re enrolled in CS50P, the academic honesty policy applies; use this as a reference once you’ve genuinely attempted the problems yourself.