3 ms·This was nice to read. I only wish itertools count was available by default, in the same manner as range.by rch 13y agoThis was nice to read. I only wish itertools count was available by default, in the same manner as range.