def height(root):
    """Function to return the height of a binary tree

    Args:
        root (Node): The root node of the binary tree

    Returns:
        (int): The height of the binary tree
    """
    left = 0
    right = 0
    if root.left:
        left = 1 + height(root.left)
    if root.right:
        right = 1 + height(root.right)
    return max(left, right)