Human: Efficient way to convert a list to dictionary Assistant: 
Here is some code to convert a list `['A:1', 'B:2', 'C:3', 'D:4']` to dictionary

dict(map(lambda s: s.split(':'), ['A:1', 'B:2', 'C:3', 'D:4']))

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