I initialized a list of dictionaries using:
list = [{}] * 5
And when I modify the values within, for instance:
list[3]["key"] = 2
list[4]["key"] = 5
printing those 2 values will both get me 5.
Is there a solution to this? I'm trying to create a list of 5 dictionaries, holding 2 keys and 2 values but I have no idea how to initialize that.