Let us leave bits as 0.
pass NEW_LINE elif ( Xi == 0 and Ai > 0 ) : NEW_LINE a = ( ( 1 << i ) a ) NEW_LINE b = ( ( 1 << i ) b ) NEW_LINE elif ( Xi > 0 and Ai == 0 ) : NEW_LINE a = ( ( 1 << i ) a ) NEW_LINE