Case1 : If right child is not None
if ( x . right != None ) : NEW_LINE INDENT inorderSucc = leftMostNode ( x . right ) NEW_LINE print ( " Inorder ▁ Successor ▁ of " , x . data , " is " , end = " ▁ " ) NEW_LINE print ( inorderSucc . data ) NEW_LINE DEDENT