Function to find sum of all the element
def addBT ( root ) : NEW_LINE INDENT if ( root == None ) : NEW_LINE INDENT return 0 NEW_LINE DEDENT return ( root . key + addBT ( root . left ) + addBT ( root . right ) ) NEW_LINE DEDENT