Trying to convert below list of dict to dict as below:
mylist=[{'A1': 'AAA', 'B1': '0.0000300'}, {'A1': 'BBB', 'B1': '0.0164500'}, {'A1': 'CCC', 'B1': '0.00179350'}
And below dict output is what I am looking for:
neededdict={'AAA': '0.0000300', 'BBB': '0.0164500', 'CCC': '0.00179350'}
but should not be as below:
notneeded={'A1': 'AAA', 'B1':'0.0000300','A1': 'BBB', 'B1': '0.0164500','A1': 'CCC', 'B1': '0.00179350'}
How to solve this problem ?