title: python list iteration
body: <p>I have a list iteration in python defined like this:</p>
  
  <pre><code>for i in range(5):
      for j in range(5):
          if i != j:
              print i , j
  </code></pre>
  
  <p>So for each element in my defined range [0..5] I want to get each element i, but also all other elements which are not i.</p>
  
  <p>This code does exactly as I expect, but is there a cleaner way of doing this?</p>