title: Can a Python function return only the second of two values?
body: <p>I have a Python function that returns multiple values. As an example for this question, consider the function below, which returns two values.</p>
  
  <pre><code>def function():
      ...
      return x, y
  </code></pre>
  
  <p>I know this function can return both values <code>x, y = function()</code>. But is it possible for this function to only return the second value?</p>
  
  <p>In MATLAB, for example, it would be possible to do something like this: <code>~, y = function()</code>. I have not found an equivalent approach in Python.</p>