結果 : write recursive function in python