3 ms·
Could just raise StopIteration?
by jeffybefffy519 4y ago
Could just raise StopIteration?
- BiteCode_dev 4y agoThe first loop would catch it, it would not reach the next. But you can indeed use any exeption. However, itertools.product does a better job.