4 ms·
This is not how for loops work in Python, which does not have ranged loops. The example works because range objects implement __len__ which is where tqdm will
by formerly_proven 5y ago
This is not how for loops work in Python, which does not have ranged loops.
The example works because range objects implement __len__ which is where tqdm will get it's total/count information from.