If I have for instance, the list: ['a', 'b', 'c', 'd', 'e']
and I want each letter by index to be equal to the ints by index in this list:
[1, 1, 2, 1, 1]
so that 'a' == 1, 'b' == 1, 'c' == 2, etc.
Is there a simple way of doing this that I'm missing?