結果 : how to check array dimension in python