title: Compare each item of two lists in Python
body: <p>For example, suppose <code>list_1 = [a,b,c]</code> and <code>list_2 = [m,n,o]</code>. I want to compare each item from one list to the other, for example, create an output list such that </p>
  
  <p><code>[a == m, a == n, a == o, b == m, b == n, b == o...]</code></p>
  
  <p>For simplicity I'm using the <code>==</code> operation but this could also be a summation, e.g. </p>
  
  <p><code>[a + m, a + n, a + o, b + m...]</code></p>
  
  <p>I know how I could do this with two loops, but I'm wondering a lambda function with <code>map()</code> or list comprehensions could be used? I've searched online but only found one-to-one comparisons of list items, e.g. <code>map(lambda x,y: x + y, list_1, list_2)</code>.</p>