title: How to convert positive numbers to negative in Python?
body: <p>I know that <code>abs()</code> can be used to convert numbers to positive, but is there somthing that does the opposite?</p>
  <p>I have an array full of numbers which I need to convert to negative:</p>
  <pre><code>array1 = []
  arrayLength = 25
  for i in arrayLength:
     array1.append(random.randint(0, arrayLength)
  </code></pre>
  <p>I thought perhaps I could convert the numbers as they're being added, not after the array is finished. Anyone knows the code for that?</p>
  <p>Many thanks in advance</p>