function to print the inorder traversal
def inorderTraversal ( root ) : NEW_LINE INDENT if ( root == None ) : NEW_LINE INDENT return None NEW_LINE DEDENT inorderTraversal ( root . left ) NEW_LINE print ( root . data , end = " ▁ " ) NEW_LINE inorderTraversal ( root . right ) NEW_LINE DEDENT