target node whose mirror have to be searched
target = n3 . key NEW_LINE mirror = findMirror ( root , target ) NEW_LINE print ( " Mirror ▁ of ▁ node ▁ { } ▁ is ▁ node ▁ { } " . format ( target , mirror ) ) NEW_LINE if __name__ == ' _ _ main _ _ ' : NEW_LINE main ( ) NEW_LINE