title: How can I unpack two values from user defined class?
body: <pre class="lang-py prettyprint-override"><code>class Vector:
      def __init__(x,y):
          self.x=x
          self.y=y
  </code></pre>
  
  <p>How can I get two variables <code>x,y=Vector(20,10)</code>?</p>
  
  <p>Answer should be x=20, y=10.</p>