I have a list of dictionaries like below:
What I want to do, is to get the distance value of each element which matches the outer key, which in this case is '500'.
if key == 500:
Then print the distance, something like that.
Any help would be appreciated. This is not a duplicate of another post, I tried all the solutions available here, but I failed.