結果 : write a recursive function in python