A utility function to do inorder traversal
def inorder ( t ) : NEW_LINE INDENT if t is not None : NEW_LINE INDENT inorder ( t . left ) NEW_LINE print t . value , NEW_LINE inorder ( t . right ) NEW_LINE DEDENT DEDENT