I have a list : operation = [5,6]
and a dictionary dic = {0: None, 1: None}
And I want to replace each values of dic with the values of operation.
I tried this but it don't seem to run.
operation = [5,6]
for i in oper and val, key in dic.items():
dic_op[key] = operation[i]
Does someone have an idea ?