Type error in python!
<pre><code>closedset = set()    


root = (5,6)

for u,v in root:
    if v is not closedset:
       closedset.add(root)
       print closedset
</code></pre>

<p>Error:</p>

<blockquote>
<pre><code>for u,v in root:
</code></pre>
  
  <p>TypeError: unpack non-sequence</p>
</blockquote>

<p>What should i do with type of error?</p>
