title: Output of a function in Python
body: <p>I have defined a function as below:</p>
  <pre><code>def Example(M):
  ......
  .....
  
  return A,B
  </code></pre>
  <p>M, A and B are matrices. The function returns A &amp; B. At some point in my code i need only A. How to retrieve only A or B if required. I have tried Example(M).A but it throws error: Tuple object has no attribute A.</p>