Create matrix out of two lists while populating body of matrix using custom method in Python : <p>I have two lists that I would like to use to make a 2D matrix. I would like to call a custom method based on the combination of the two lists to populate the body of the matrix.</p>

<p>How would I do this?</p>

<p>Say I have a list of [A, B, C] and [1, 2, 3]. The result I want would be:</p>

<pre><code>  A B C
1 x
2
3
</code></pre>

<p>where x is the return of my_method(A,1).</p>

<p>Thank you.</p>
