Mastering Python: Rebuilding Built-In Functions from Scratch - len()

Опубликовано: 21 Март 2026
на канале: James Clare
286
11

In todays session we'll be looking at how to rebuild the len function from scratch, which implements the _len_ method behind the scenes. We also raise a custom error!

Learn Basic Python for free:
https://www.udemy.com/course/python-p...
-------------
GET The Pythonistas Notebook as your learning companion!
https://www.amazon.co.uk/dp/B0BZFLPGPY
--------------
FOLLOW for a daily Python tip:   / thedailypythontip  
--------------
JOIN for in-depth coding videos!
  / pythonwithjames379  
------------
Python 3 is an incredible language for beginners, and in each of these videos I am to bring a simple idea to you in short and easy to digest videos. I will be covering data types, control flow, looping, functions, comprehensions, variables, object orientation and much more.
------------
Have a request? Drop me a message!