I have a list like below
['position_Matrix position1', 'postal_code post10']
I was trying to make a dictionary based on this list and as expected below
{position_Matrix:position1, postal_code:post10}
Tried with below code and it doesn't work. Can someone help on this?
dict(map(lambda x: x.split(" "), alias.split(",")))