結果 : how to check dimensions in python