You are viewing a single comment's thread. Return to all comments →
use
print( root.data ),
Insteed of
print root.data
Tree: Preorder Traversal
You are viewing a single comment's thread. Return to all comments →
use
Insteed of