Checking array with two elements possible or not .
if ( xorr & mid == 1 ) : NEW_LINE INDENT print ( " Array ▁ size ▁ is " , 3 ) NEW_LINE print ( " Array ▁ is " , xorr , mid , mid ) NEW_LINE DEDENT else : NEW_LINE INDENT print ( " Array ▁ size ▁ is " , 2 ) NEW_LINE print ( " Array ▁ is " , ( xorr + mid ) , mid ) NEW_LINE DEDENT