Is it possible to Zip a python Dictionary and List together?
For Example:
dict = {'A':1, 'B':2, 'C':3}
num_list = [1, 2, 3]
zipped = zip(dict, num_list)
Then I'd like to do something like this:
for key, value, num_list_entry in zipped:
print key
print value
print num_list_entry
I haven't found a solution for this, so I'm wondering how do I go about doing this?