Python · OOP: Classes & Inheritance
A class defines no __bool__ but defines __len__ that returns 0. Is an instance truthy? What if it defines neither method?
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
