Printing out strings toggling through list of tuples...help?
<p>I have a list of tuples which relate a given actor to other actors through the movies and co-stars:</p>

<p>For a given actor E ActE:</p>

<pre><code>conn_list = [('m6', 'D ActD'), ('m3', 'B ActB'), ('m2', 'Kevin Bacon')]
</code></pre>

<p>So this says that:</p>

<pre><code>E ActE was in a movie m6 with D ActD
D ActE was in a movie m3 with B ActB 
B ActB was in a movie m3 with Kevin Bacon
</code></pre>

<p>I'm just wondering how to print that out. I know how to toggle through a list and get the elements from the tuples. I am using a for loop to iterate through, but I dont know how to deal with the changing actors when print out the strings.</p>

<pre><code>for connection in conn_list:
    print '%s was in %s with %s'(            , connection[0],            )
</code></pre>

<p>That is pretty much where I'm stuck at. I don't want to make multiple print statements since there might be too many movies and actors. Any ideas?</p>
