結果 : how to check dimensions of an array python