I am writing a class that defines __iter__ and __len__, where the value of __len__ depends on the iterator returned by __iter__<
__iter__
__len__
__iter__<