[Solved] Python Dict list of list [closed]


The part I am getting hung up on is how I can loop through the values for each key and get to the individual data in each value. I can do the rest after that

So if I understand you correctly then you want to iterate through a dictionary which has lists as its values?

def process(value):
    # do something with the value

for key,value_list in dict_of_lists:
    for value in value_list:
        process(value)

1

solved Python Dict list of list [closed]