結果 : recursive algorithm program in python