結果 : implement recursive algorithms in python program