title: Assign and increment value on one line
body: <p>Is it possible to assign a value and increment the assigned value on the same line in Python?</p>
  <p>Something like this:</p>
  <pre><code>x = 1
  a = x
  b = (x += 1)
  c = (x += 1)
  
  print a
  print b
  print c
  
  &gt;&gt;&gt; 1
  &gt;&gt;&gt; 2
  &gt;&gt;&gt; 3
  </code></pre>
  <p>I need it in a context where I'm creating an Excel sheet:</p>
  <pre><code>col = row = 1
  ws.cell(row=row, column=col).value = &quot;A cell value&quot;
  ws.cell(row=row, column=(col += 1)).value = &quot;Another cell value&quot;
  ws.cell(row=row, column=(col += 1)).value = &quot;Another cell value&quot;
  </code></pre>