Compare values of two arrays in python
===

How can i check if item in `b` is in `a` and the found match in `a` should not be use in the next matching? 

Currently this code will match both 2 in `b`.

    a = [3,2,5,4]
    b = [2,4,2]
    
    for i in b:
      if i in a:
        print "%d is in a" % i

This is the required output:

    2 => 2 is in a
    4 => 4 is in a
    2 =>