結果 : recursively iterate through list python