Oct-06-2019, 04:26 PM
I have some data in a dictionary but its values are in a list. I want to create a dictionary from these values.
data = {'data':[{'Info':100,'GPSInfo': {1: 'N',2:'S'}}]}How can I create a dictionary similar to this,
Dict_data = {'data':{'Info':100,'GPSInfo': {1: 'N',2:'S'}}}Appreciate if someone can help with this