compare values of two arrays in python,"f([3, 2, 5, 4], [2, 3, 2])"