is there anyway in python to iterate with 2 arguments with a for in loop. such as doing something like for gObj in Duplicates: and something likefor count in range( len(Duplicates) ): in the same for loop. i got a case where i need to iterate through a list of objects, but also need to keep a count for some math that…
why not do something like: x = [4,5,6]counter = 0for i in range(len(x)): counter += 1 print x[i] That works more like a classic for loop (for int i = 0; i < length(x); i++) etc. Maybe Im not reading this right but let me know.