I’m trying to convert two string values into single dict like this
string1='red blue white'
string2= 'first second third'
dict={'red':first,'blue':second.'white':third}
But here i can’t use loops!! Is there any other way without loop?.
Help me!!
Thank you
1 Answer