Python: how do I replace all of the same elements in an int array?
<p>I have 1,2,3,6,7,8,1,1,1,6,7,5</p>

<p>What is the syntax for replacing all 1's with ... say.. 0?</p>

<p>for strings its .replace("1", "0")</p>
