(self)
return i
Return number of contained cookies.
Return number of contained cookies.
Return number of contained cookies .
def __len__(self):
        """Return number of contained cookies."""
        i = 0
        for cookie in self: i = i + 1
        return i
def __len__ ( self ) : i = 0 for cookie in self : i = i + 1 return i