Question 9/30 fast.ai v3 lecture 10


What is the name of the dunder method returning the length of an object?

Answer

__len__

Screenshot

supplementary material

The official documentation for __len__ can be found here.