Assuming that the data is stored in the variable json
json = { "Location": True, "adddress": [ { "street1": " 1 58 4 16" }, { "sttreet2": " 3 76 57 12" }, ] }
As the names are different (street1, sttreet2), there are various approaches.
One, that one would be able to use for more cases, would be as follows
for i in range(len(json['adddress'])):
for key in json['adddress'][i]:
json['adddress'][i][key] = json['adddress'][i][key][:-2] + str(int(json['adddress'][i][key][-2:]) + 10)
[Out]:
{'Location': True,
'adddress': [{'street1': ' 1 58 4 26'}, {'sttreet2': ' 3 76 57 22'}]}
Another one, would be more manual, and it would require one to change the respective value. For example, for street1, it would be as follows
json['adddress'][0]['street1'] = json['adddress'][0]['street1'][:-2] + str(int(json['adddress'][0]['street1'][-2:]) + 10)
[Out]:
{'Location': True,
'adddress': [{'street1': ' 1 58 4 26'}, {'sttreet2': ' 3 76 57 12'}]}
For sttreet2 it would be as follows
json['adddress'][1]['sttreet2'] = json['adddress'][1]['sttreet2'][:-2] + str(int(json['adddress'][1]['sttreet2'][-2:]) + 10)
[Out]:
{'Location': True,
'adddress': [{'street1': ' 1 58 4 16'}, {'sttreet2': ' 3 76 57 22'}]}