Sep-19-2020, 12:16 AM
I suspect that you want to do something like this
L[np.in1d(L+1, L)]
. But I cann't understand why you have 11
in the result array stated as correct. Neither L
, nor L+1
could include such number.