CS50P
My Solutions to the Harvard CS50P Problem Sets
Install / Use
/learn @realTristan/CS50PREADME
CS50P 2022


About CS50P
<a href="https://www.edx.org/course/cs50s-introduction-to-programming-with-python" target="_blank" rel="noopener noreferrer"> CS50P </a> is Harvard University's introduction to programming using a language called Python. Learn how to read and write code as well as how to test and “debug” it. Designed for students with or without prior programming experience who’d like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals and Boolean expressions; and loops. Learn how to handle exceptions, find and fix bugs, and write unit tests; use third-party libraries; validate and extract data with regular expressions; model real-world entities with classes, objects, methods, and properties; and read and write files. Hands-on opportunities for lots of practice. Exercises inspired by real-world programming problems. No software required except for a web browser, or you can write code on your own PC or Mac.
Environment
To quickly set up a local working environment containing style50, check50, and submit50, open a terminal in your working directory and run pipenv install check50 submit50 style50. This will create a virtual environment which you can access using: pipenv shell. If you don't have pipenv installed, simply run pip3 install pipenv.
Problem Sets - 2022
<h3>Problem Set 0</h3>- Indoor Voice: https://cs50.harvard.edu/python/2022/psets/0/indoor/
- Playback Speed: https://cs50.harvard.edu/python/2022/psets/0/playback/
- Making Faces: https://cs50.harvard.edu/python/2022/psets/0/faces/
- Einstein: https://cs50.harvard.edu/python/2022/psets/0/einstein/
- Tip Calculator: https://cs50.harvard.edu/python/2022/psets/0/tip/
- Deep Thought: https://cs50.harvard.edu/python/2022/psets/1/deep/
- Home Federal Savings Bank: https://cs50.harvard.edu/python/2022/psets/1/bank/
- File Extensions: https://cs50.harvard.edu/python/2022/psets/1/extensions/
- Math Interpreter: https://cs50.harvard.edu/python/2022/psets/1/interpreter/
- Meal Time: https://cs50.harvard.edu/python/2022/psets/1/meal/
- camelCase: https://cs50.harvard.edu/python/2022/psets/2/camel/
- Coke Machine: https://cs50.harvard.edu/python/2022/psets/2/coke/
- Just setting up my twttr: https://cs50.harvard.edu/python/2022/psets/2/twttr/
- Vanity Plates: https://cs50.harvard.edu/python/2022/psets/2/plates/
- Nutrition Facts: https://cs50.harvard.edu/python/2022/psets/2/nutrition/
- Fuel Gauge: https://cs50.harvard.edu/python/2022/psets/3/fuel/
- Felipe’s Taqueria: https://cs50.harvard.edu/python/2022/psets/3/taqueria/
- Grocery List: https://cs50.harvard.edu/python/2022/psets/3/grocery/
- Outdated: https://cs50.harvard.edu/python/2022/psets/3/outdated/
- Emojize: https://cs50.harvard.edu/python/2022/psets/4/emojize/
- Frank, Ian and Glen’s Letters: https://cs50.harvard.edu/python/2022/psets/4/figlet/
- Adieu, Adieu: https://cs50.harvard.edu/python/2022/psets/4/adieu/
- Guessing Game: https://cs50.harvard.edu/python/2022/psets/4/game/
- Little Professor: https://cs50.harvard.edu/python/2022/psets/4/professor/
- Bitcoin Price Index: https://cs50.harvard.edu/python/2022/psets/4/bitcoin/
- Testing my twittr: https://cs50.harvard.edu/python/2022/psets/5/test_twttr/
- Back to the Bank: https://cs50.harvard.edu/python/2022/psets/5/test_bank/
- Re-requesting a Vanity Plate: https://cs50.harvard.edu/python/2022/psets/5/test_plates/
- Refueling: https://cs50.harvard.edu/python/2022/psets/5/test_fuel/
- Lines of Code: https://cs50.harvard.edu/python/2022/psets/6/lines/
- Pizza Py: https://cs50.harvard.edu/python/2022/psets/6/pizza/
- Scourgify: https://cs50.harvard.edu/python/2022/psets/6/scourgify/
- CS50 P-Shirt: https://cs50.harvard.edu/python/2022/psets/6/shirt/
- NUMB3RS: https://cs50.harvard.edu/python/2022/psets/7/numb3rs/
- Watch on YouTube: https://cs50.harvard.edu/python/2022/psets/7/watch/
- Working 9 to 5: https://cs50.harvard.edu/python/2022/psets/7/working/
- Regular, um, Expressions: https://cs50.harvard.edu/python/2022/psets/7/um/
- Response Validation: https://cs50.harvard.edu/python/2022/psets/7/response/
- Seasons of Love: https://cs50.harvard.edu/python/2022/psets/8/seasons/
- Cookie Jar: https://cs50.harvard.edu/python/2022/psets/8/jar/
- CS50 Shirtificate: https://cs50.harvard.edu/python/2022/psets/8/shirtificate/
Concerns
I like to share my progress which also helps motivate me to finish the course faster. Although if any directors of the course want me to take this down I will gladly do so, just shoot me a message via heytristaann@gmail.com
Related Skills
node-connect
347.6kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
108.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
108.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
347.6kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
