comparing values in two lists in python,[(x[i] == y[i]) for i in range(len(x))]