結果 : how to calculate root value in python