<gh_stars>0
vector = [{"name": "<NAME>", "age": 37}, {"name": "<NAME>", "age": 35}]

# for item in vector:
#     print(item["name"])

print(list(map(lambda item: item["name"], vector)))

vector = [{"name": "<NAME>", "age": 37}, {"name": "<NAME>", "age": 35}]

# for item in vector:
#     print(item["name"])

print(list(map(lambda item: item["name"], vector)))
# for item in vector: #     print(item["name"])