I\'m trying convert my list to dictionary in python. I have list l
l = [\'a\', \'b\', \'c\', \'d\']
and I want convert it to dictionary d
you should do this instead.
li = ['a', 'b', 'c', 'd'] my_d = {letter:[] for letter in li}