How would you add a constant number, say 1, to a value in a dictionary if certain conditions are fulfilled.
For example, if I had a dictionary:
dict
Your code says the following:
for each value in [3,3,4,4,4]: if 1 < value < 5: FID_thingy['0'] = value + 1
So it will set FID_thingy['0'] to 4 then 4 then 5 then 5 then 5. Do you see why?
FID_thingy['0']