結果 : define recursive function in python