title: How to implement pre and post increment in Python lists?
body: <p>In Python how can we increment or decrement an index within the square braces of a list?</p>
  
  <p>For instance, in Java the following code </p>
  
  <pre><code>array[i] = value
  i-- 
  </code></pre>
  
  <p>can be written as </p>
  
  <pre><code>array[i--] 
  </code></pre>
  
  <p>In <strong>Python</strong>, how can we implement it?
  <code>list[i--]</code> is not working</p>
  
  <p>I am currently using </p>
  
  <pre><code>list[i] = value 
  i -= 1 
  </code></pre>
  
  <p>Please suggest a concise way of implementing this step. </p>