A = {'1': '[1,2]', '2': '[3,4]', '3': '[5,6]', '4': '[7,8]', '5': '[9,10]' }
B = {'1': '70', '2': '70', '3': '70', '4': '70', '5': '70' }
How to convert this multiple string dictionary into int dictionary?
Desired result :-
A = { 1:[1,2], 2:[2,3], 3:[3,4], 4:[4,5], 5:[5,6] }
B = { 1:70, 2:70, 3:70, 4:70, 5:70 }