Python: Cannot Assign Function Call
<p>I am having a problem such as:</p>

<pre><code>def function (number):
      for number in list:
          number = number + 1
</code></pre>

<p>For example function(1):
      for number in range(1,5):
          number = number + 1</p>

<p>Error come back as "can't assign function call"
I would like to use that variable as a value for further calculations.</p>

<p>Help!</p>
