indexing error in list in python
<pre><code>B=l.append((l[i]+A+B))
</code></pre>

<p>l is a list here and i am trying to append into it more value for it to act as an array . But its still giving me error like list index out of range  . How to get rid of it ?</p>
