2 ms·
The 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.
by BiteCode_dev 4y ago
The 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.