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