結果 : how to check dimension of array in python