<human>:  Creating a dictionary from a string
<bot>: Here is some code to create a dictionary from string `e` separated by `-` and `,`

dict((k, int(v)) for k, v in (e.split(' - ') for e in s.split(',')))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.