Is there no one function that will iterate over a list of strings or strings and integers and populate a dictionary like so:
{list[0] : list[1]
list[2] : list[3]
list[4] : list [5]}
I've seen 40 different ways of doing it that are more complicated than if there was just one function that did it. I would think wanting to converting a list of strings to a dictionary is not an esoteric thing to want to do.
Does this exist? If it does exist, what's the function called?