## Applying function to 2 vectors to obtain a 2D matrix

Applying function to 2 vectors to obtain a 2D matrix Question: My question is exactly the same as this one but in Python instead of R. I couldn’t find a similar question for python and so I’m asking this one. I have 2 vectors (lists actually) a = [1,2,3] b = [5,6,7] A defined function …