title: Can this code be more simple? Which code looks better? [Reversed Loop]
body: <p>Can you make code 1) even more simple than it is?</p>
  
  <p>Or maybe there is some better approach?</p>
  
  <p>I wrote this two really simple code just to visualize the differences.</p>
  
  <p>From my perspective, code 1) looks to be more clear then 2), especially when implementing more stuff in loop, for example list of dicts.</p>
  
  <p>1) For with zip</p>
  
  <pre><code>shopping_list =['bananas', 'car', 'rum', 'cat', 'meat', 'jelly']
  for i, item in zip(range(len(shopping_list)-2, -1, -1), shopping_list):
      print(i, item)
      if item == 'cat':
          shopping_list.pop(i)
  
  </code></pre>
  
  <p><code>print()</code></p>
  
  <p>2) just for</p>
  
  <pre><code>shopping_list =['bananas', 'car', 'rum', 'cat', 'meat', 'jelly']
  for i in range(len(shopping_list)-1, -1, -1):
      print(i, shopping_list[i])
      if shopping_list[i] == 'cat':
          shopping_list.pop(i)
  </code></pre>
  
  <p>Result of loop is:</p>
  
  <pre><code>['bananas', 'rum', 'meat', 'jelly']
  </code></pre>