結果 : how to use partition function in python