I have a list with data that can be split into JSON like objects/strings. I have to convert this list into a dictionary based on that. My list:
['1: geek', '2: geek', '3: geek', '4: ', '5: ', '6: ']
I want a dictionary like this:
{'1': 'geek', '2': 'geek', '3': 'geek', '4': '', '5': '', '6': ''}
All of this must be done using Python.