Ho do i make one to many relations in list of tuples
<p>I have a list consisting of tuples like the following:</p>

<pre><code>m = [('a', 'b', 'c', 'd'), (1, 2, 3, 4), ('alpha', 'beta', 'gamma', 'eta')]
</code></pre>

<p>how can i get the following output:</p>

<pre><code>['c', 3, 'gamma']
</code></pre>

<p>need only for 'c' and not for rest of the elements a,b,d</p>

<p>Variable 'm' contains list of tuples, there are 3 tuples considered as 3 items in list. </p>

<p>Variable 'n' takes each element (tuple) in the list and prints its value according to its index number.</p>

<pre><code>m = [('a', 'b', 'c', 'd'), (1, 2, 3, 4), ('alpha', 'beta', 'gamma', 'eta')]
for n in m:
    print (n[2])
</code></pre>

python list python-3.x tuples