21
What is the output of the following code?
class Bag:
def __init__(self):
self.items = [1, 2, 3]
def __len__(self):
return len(self.items)
print(len(Bag()))Easy