結果 : check dimensions of an array python