python split list into dictionary code example
Example: How to split a string into a dictionary in Python
dictionary = { index: sample for index, sample in enumerate(string.split(separator)) }
dictionary = { index: sample for index, sample in enumerate(string.split(separator)) }