I have two lists
list1 = [1,a,2,b,3,c]
list2 = [5,d,6,e,7,f]
I tried to use list(zip(list1, list2))
Then is what I got:
[(1, 5), ('a', 'd'), (2, 6), ('b', 'e'), (3, 7), ('c', 'f')]
I want something like this to be my output:
{1:a, 5:d, 2:b, 6:e, 3:c,7:f}
Any help is appreciated.