結果 : dfs in python iterative