Multiple counters in a single for loop : Python
- by Sayan Ghosh
Is it possible in Python to run multiple counters in a single for loop as in C/C++? I would want something like -- for i,j in x,range(0,len(x)): I know Python interpretes this differently and why, but I would need to run two loop counters concurrently in a single for...?
Thanks,
Sayan