結果 : binary tree traversal python code