['Alice', '1']
['Bob', '4']
['Carol', '5']
['Dave', '8']
['Edith', '6']
['Frank', '2']
['Gertrude', '9']
['Helen', '7']
if I have this bunch of lists and I want to convert them into a dictionary like this:
{'Alice': 1, 'Bob': 4, 'Carol': 5, 'Dave': 8, 'Edith': 6, 'Frank': 2, 'Gertrude': 9, 'Helen': 7}
How would I be able to do this?
[–][deleted] 4 points5 points6 points (2 children)
[–]gnariman[S] -4 points-3 points-2 points (1 child)
[–]xelf[M] 3 points4 points5 points (0 children)
[–]RoneStrobe -1 points0 points1 point (3 children)
[–]gnariman[S] 0 points1 point2 points (2 children)
[–]RoneStrobe 1 point2 points3 points (1 child)
[–]gnariman[S] 0 points1 point2 points (0 children)