結果 : how to create a recursive function in python