def __init__(self, data):
    self.left = None
self.right = None
self.data = data


class BinaryTree:

    def __init__(self):
        self.root = None

def insert_node(self, root, element):
    if self.root is None:
        self.root = Node(element)
Binary Tree in Python