CS 41: Hap.py Code is a course offered at Stanford University created by Sam Redmond and taught by Parth Sarin and Michael Cooper. This repository contains notes for the topics covered in CS 41.
- Python Basics
- Data Structures
- Object-Oriented Python
- Functions
- Functional Programming
- Python and the Web
- Reading Python Documentation
Note: Within each file, the code is meant to be read from top to bottom, where each code block is a continuation of the previous. In particular, code blocks may refer to variables defined in earlier code blocks.
Even unicorns make mistakes! Fortunately, our octopus friends at Github can help out. If you'd like to contribute to these notes or catch a mistake, please submit a pull request. See our pull request template for an example of how to format your PR.
With love, 🦄s, and 🐘s by the CS41 Staff