list printing in formatted string in python
<p>In python to print a formatted string with ints and strings, I'd usually do : </p>

<pre><code>print '%d %d - %s' %(x,y, mystr)
</code></pre>

<p>Is there anything similar for printing out a list? I have:</p>

<pre><code>L= [1,0,0]
name = 'V'
</code></pre>

<p>and I want the output to be :</p>

<pre><code>v(1,0,0)
</code></pre>

<p>Is there anything similar to %d for list objects? </p>
