結果 : how to check the dimension of an array in python