Merge multiple lists horizontally in python
<p>I have two different lists like below</p>

<pre><code>A = [(Apple, Mango)]
B = [Grapes]
</code></pre>

<p>Now I would like to get a merged list as follows</p>

<pre><code>C = [(Apple,Mango,Grapes)]
</code></pre>

<p>Is there any predefined functions available in python to get above merged list.</p>

<p>Note: Already used zip method which is returning the result as different result</p>

<pre><code>C = [(Apple,Mango),(Grapes)]
</code></pre>

<p>The snippet of code which returned above result is this</p>

<pre><code>A = [('Apple','Mango')]
B = ['Grapes']

C = zip(A,B)

print C
</code></pre>

<p>Since tuples are not mutable, we can't append/add to <code>A[0]</code>. Let's just unpack and create a new tuple within a list:</p>

<p><code>[(*A[0], *B)]</code></p>

python