title: Python - Modify for-loop variable
body: <p>I have this function:</p>
  <pre class="lang-py prettyprint-override"><code>numbers = [3, 4, 6, 7]
  
  for x in numbers:
      a = 5 - x
      b = 5 + x
      c = 5 * x
      print(x, a, b, c)
  </code></pre>
  <p>What it exactly does doesn't matter, only the x is relevant.</p>
  <p>I want modify x so that:</p>
  <pre class="lang-py prettyprint-override"><code>for x in numbers:
      a = 5 - (x + 2)
      b = 5 + (x + 2)
      c = 5 * (x + 2)
      print((x + 2), a, b, c)
  </code></pre>
  <p>But obviously adding <code>+ 2</code> everywhere is annoying, so I just want to have another value for <code>x</code>.</p>
  <p>Of course, I could make another variable like this:</p>
  <pre class="lang-py prettyprint-override"><code>for x in numbers:
      modifiedX = x + 2
      a = 5 - modifiedX
      b = 5 + modifiedX
      c = 5 * modifiedX
      print(modifiedX, a, b, c)
  </code></pre>
  <p>But I'm curious if I could get the same result without adding another line, like:</p>
  <pre class="lang-py prettyprint-override"><code>for x + 2 in numbers:
      a = 5 - x
      b = 5 + x
      c = 5 * x
      print(x, a, b, c)
  </code></pre>
  <p>or this:</p>
  <pre class="lang-py prettyprint-override"><code>x + 2 for x in numbers:
      a = 5 - x
      b = 5 + x
      c = 5 * x
      print(x, a, b, c)
  </code></pre>
  <p>The last 2 code blocks aren't correct Python syntax, so I'm curious: Is there is a correct method out there to have a modified version of <code>x</code> without adding more lines?</p>
  <p><strong>Note:</strong> I still want to keep the original numbers list, so I'm not looking for changing the numbers in the list directly.</p>