Best way to generate vector of tuples based on two vectors

tuple.(x, y)? Though I think you are creating tuple.(x, y') in your example actually

2 Likes