結果 : check array dimension in python