Skip to content


Repository files navigation

CS 41 Course Reader

CS 41: 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.

Table of Contents

  1. Python Basics
  2. Data Structures
  3. Object-Oriented Python
  4. Functions
  5. Functional Programming
  6. Python and the Web
  7. 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


No releases published


No packages published