Intersection Method In Python