List of zeros in python
<p>How can I create a <code>list</code> which contains only zeros? I want to be able to create a zeros <code>list</code> for each <code>int</code> in <code>range(10)</code></p>

<p>For example, if the <code>int</code> in the range was <code>4</code> I will get:</p>

<pre><code>[0,0,0,0]
</code></pre>

<p>and for <code>7</code>:</p>

<pre><code>[0,0,0,0,0,0,0]
</code></pre>
