結果 : bfs tree traversal in python