結果 : maximum value function in python