結果 : check the dimensions of an array python