findall returns the indices of the elements satisfying the condition (not the elements themselves). And element 1 of test is the number 75, which is not in [1,2,3], thus that’s what’s expected.
1 Like