結果 : how to define a recursive function in python