So I am trying to format a string to a dict. Meaning, I receive an str input of this sort: "b:0.1 a:0.5 n:0.2 p:0.1 c:0.1 k:0.1”
And wish to convert it to dict: