You should not add brackets for k and dicts[k].