This works as expected because I know the length of the list. I know that there are 3 items. I need 0, 1 and 2 as shown below:
xdict={'x':[{'a', 'b', 'c'}, {'a', 'b', 'c', 'd'}, {'a', 'b'}]}
xdict['x'][0] & xdict['x'][1] & xdict['x'][2]
But when I do not know the count of list, how to I get the same results? I tried something like this...
for i in range(len(xdict['x'])):
print (xdict['x'][i])