Appending an Array at a specific Index in Python
<p>I have an array like this.</p>

<pre><code>    [['Bob\n', 0], ['Joe\n', 0], ['Bill', 0], ['Steve', 0], ['Judy', 0]]
</code></pre>

<p>and I would like to change one of the zeros to 1. How would I direct a .append to the 0 after Joe for example. I am new to python and can not currently use numPy unfortunately. Also how do you get rid of that stupid \n at the end of a few of the lists?</p>