結果 : how to check dimensions of an array in python