+ 1
How to create a tree by Python?
Pythons
2 Answers
+ 8
0
https://www.sololearn.com/learn/711/?ref=app
Instead of writing things like left.left.right, implement functions like append() that traverse the tree recursive and append the node at the correct place.