I have a dictionary which has value as a list.
dictionary = { \'C1\' : [10,20,30] \'C2\' : [20,30,40] } <
dictionary = { \'C1\' : [10,20,30] \'C2\' : [20,30,40] }
for i,j in dictionary .items(): if i=='C1': c=[] for k in j: j=k+10 c.append(j) dictionary .update({i:c})