結果 : check dimension of an array in python