title: Checking if any elements in one list are in another
body: <p>I'm trying to compare two lists and simply print a message if any value from the first list is in the second list.</p>
  
  <pre><code>def listCompare():
    list1 = [1, 2, 3, 4, 5]
    list2 = [5, 6, 7, 8, 9]
    if list1 in list2:
      print("Number was found")
    else:
      print("Number not in list")
  </code></pre>
  
  <p>In this example, I want the <code>if</code> to evaluate to <code>True</code> because 5 is in both lists. This doesn't work, and I'm not sure of the simplest way to compare the two lists. </p>