how to merge multiple lists in python
<p>I have multiple lists like below </p>

<pre><code>[u'a', 11, u'P']
[u'a', 11, u'A']
[u'b', 2, u'P']
[u'c', 1, u'P']
[u'c', 2, u'P']
[u'd', 1, u'P']
[u'e', 3, u'P']
[u'f', 2, u'P']
[u'a', 1, u'P']
[u'a', 2, u'P']
[u'b', 1, u'P']
[u'b', 11, u'P']
</code></pre>

<p>how to merge above lists,to loop the list to add up like below</p>

<pre><code>[u'a', 11, u'P'] + [u'a', 2, u'P'] + [u'a', 11, u'A'] = ['a',('P' : 13) ,('A': 11)]

[u'b', 2, u'P'] + [u'b', 1, u'P'] + [u'b', 11, u'P'] = ['b',14,p]
</code></pre>

<p>output should like below :</p>

<pre><code>['a',('P' : 13) ,('A': 11)]
['b',14,'p']
</code></pre>
