I have a dictionary like this:
dict = {'x': [(['a'], ['b'], ['c'], ['d'], ['e'], ['f'])],'y': [(['a'], ['b'], ['c'], ['d'], ['e'], ['f'])]}
I want to iterate over nested lists and add a number to list. The result should be like the below dictionary:
res = {'x': [(['a',1], ['b',2], ['c',3], ['d',4], ['e',5], ['f',6])]}
How can i add numbers in the nested list?