title: Comparing each item in list to Other item in other list Python
body: <p><a href="https://i.stack.imgur.com/yGgfX.png" rel="nofollow noreferrer">illustration of comparison</a></p>
  
  <p>i got stuck on this code, can you help me?</p>
  
  <pre><code>a = [1, 2, 3]
  b = [4, 5, 6]
  
  item = []
  item.append(a)
  item.append(b)
  
  for i in range(len(item)):
      for j in range(len(item[i])):
          print('{} &lt;= {}'.format(item[i][j], item[i+1][j]))
  </code></pre>