title: Python - Convert function return values to int in a single line
body: <p>I wanted to convert the values that are being returned from a function to <strong>int</strong> in a single line but when I try I get the following error:</p>
  
  <pre><code>TypeError: int() argument must be a string or a number, not 'tuple'
  </code></pre>
  
  <p>My code is the following:</p>
  
  <pre><code>def test_func():
      return 3.4, 3.5
  
  
  a, b = int(test_func())
  
  print a , b
  </code></pre>