結果 : how to invert boolean array in python