結果 : how to check dimensions of array python