Thanks for the quick answer... can anyone give me a quick example how to loop over it?
The dictionary part of my code looks like this:
The dictionary part of my code looks like this:
d11=dict() for a in range(len(GN)): d11[a]=GN[a] listOfKeys = list() listOfItems = d11.items() for item in listOfItems: if item[1] == ' 11': listOfKeys.append(item[0]) d11x=dict() for m in range(len(GN)): d11x[m]=x[m]How can I get the corresponding values to a new list?