title: How to compare 2 list/array with python using for loops?
body: <p>I want to compare ListA[0] to ListB[0]...etc.</p>
  
  <pre><code>ListA = [itemA, itemB, itemC]
  ListB = [true, false, true]
  
  for item in ListA:
      if ListB[item] == True:
          print"I have this item"
  </code></pre>
  
  <p>Current problem is that [item] is not a number, so ListB[item] will not work. What is the correct way if I want to do something like this?</p>