If root is greater go to left side
elif ( N < root . key ) : NEW_LINE INDENT root = root . left NEW_LINE DEDENT else : NEW_LINE INDENT break NEW_LINE DEDENT if ( root == None or root . key > N ) : NEW_LINE print ( - 1 ) NEW_LINE else : NEW_LINE print ( root . key ) NEW_LINE