python bignum array?
<p>I'm very new to python.</p>

<p>I would like to have an array of exactly 10000 big integers (arbitrary precision).</p>

<p>I tried to do it like this:</p>

<pre><code>M = []

M[0] = 1
M[1] = 1

for k in range(2,10001):
        M[k] = ...
</code></pre>

<p>but I get:</p>

<pre><code>IndexError: list assignment index out of range
</code></pre>

<p>What data structure should I use and how do I initialize it and reserve space for it?</p>
