so I have 3 lists
a = [1 , 2 , 3]
b = [4 , 5 , 6]
c = [7 , 8 , 9]
I would like to zip them into a dictonary using the list name as key and the list itself as value.The output Im looking for is:
dictonary = { "a" : [1 , 2, 3] ,
"b" : [4 , 5 , 6],
"c" : [7, 8 , 9]}
Is this possible? thanks in advance
I tried:
dictonary = dict(zip(a, b, c))
print(dictonary)
but it ask me for two arguments instead of 3