結果 : how to use tree in python