I have a dictionary with keys in it but no values:
> {'GROUP': '?', 'THREAD': '?', 'SEQUENCE': '?', 'BYTES': '?', 'BLOCKSIZE': '?'}
I do also have a loop which returns lists of values:
for row in rng:
    result = [d[row] for d in inp]
    print(result)
> ['1', '2', '3']
> ['1', '1', '1']
> ['346', '347', '348']
> ['52428800', '52428800', '52428800']
> ['512', '512', '512']
How could I assign the db.keys to db.values, so the output looks like this:
{'GROUP': ['1', '2', '3'], THREAD': ['1', '1', '1'], 'SEQUENCE': ['1', '1', '1'], 'BYTES': ['52428800', '52428800', '52428800'], etc.}
Should I do values assignment in the loop directly?


rowin each iteration of the loop?