結果 : if array is not empty python