How to replace value in list at same collection location
<p>How do I replace a value in a collection list at the same location?</p>

<pre><code>0 = cat
1 = dog
2 = bird
</code></pre>

<p>replace <code>2</code> with <code>snail</code>?</p>
