ValueError: need more than 1 value to unpack
<p>I want to change the contents in a list of tuples, returned by a findall() function. And I am not sure whether I could change the elements from string to integer like this. And the error always shows that I need more than 1 value. </p>

<pre><code>Ntuple=[]

match = re.findall(r'AnswerCount="(\d+)"\s*CommentCount="(\d+)"', x)

print match

for tuples in match:
    for posts, comments in tuples:
        posts, comments = int(posts), (int(posts)+int(comments))  ## &lt;- error

print match
</code></pre>
