This is my collection of Python Google Colab notebooks based on NeetCode (not Leetcode) lessons and problems that I've taught my students. Each notebook includes detailed notes and explanations. I cover the following topics:
- Mathematics/Built-in Operations
- Functions
- Conditional Statements
- Loops
- Advanced String Functions
- Lists
- Tuples and Sets
- Dictionaries
- Input
- Try/Except
There are 82 lessons in total. This may seem like a lot — but each lesson is broken down into very simple and digestible parts to ensure clarity and comprehension. The length of the files varies depending on whether I taught the lessons in-person or over Zoom.
Although the content is approximately six months old, it remains highly relevant. These notebooks were intentionally not published until now to ensure my students couldn’t use them to cheat (lol) at the time.
I am continually updating this repository, so check back for new additions.
P.S. If you are 100% new to coding, I highly recommend using Google Colab. It has a very simple interface to get you started.
P.P.S. A great resource for these notebooks is the Neetcode Python Full Course on Youtube, as these lessons are directly inspiried from the series.
Creating Default Arguments in Functions
How to Change the Start Number in For Loops
How to Change the Incrementation of For Loops
Nested Loops and their Applications
How to Add Elements into a List/The Append Function
How to Remove Elements from a List/The Pop Function
What Else Can We Do With Dictionaries?
Additional Practice With Dictionaries (Thus Far)
Introduction to Try and Except Blocks and the Concept of Order Flow