


def      a	(							SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		int       ):






       """simple docstring"""





       return 1 if input_a == input_a else 0


def      a	(							):






       """simple docstring"""





       assert xnor_gate(0							,			0       ) == 1
       assert xnor_gate(0							,			1       ) == 0
       assert xnor_gate(1							,			0       ) == 0
       assert xnor_gate(1							,			1       ) == 1


if __name__ == "__main__":
  print(xnor_gate(0, 0))
  print(xnor_gate(0, 1))
  print(xnor_gate(1, 0))
  print(xnor_gate(1, 1))





def      a	(							SCREAMING_SNAKE_CASE_      :		int							,			SCREAMING_SNAKE_CASE_      :		int       ):






       """simple docstring"""





       if a < 0 or b < 0:
              raise ValueError('''the value of both inputs must be positive'''       )
       UpperCamelCase    :	int   	=		str(bin(SCREAMING_SNAKE_CASE_       )       )[2:]  # remove the leading "0b"
       UpperCamelCase    :	List[str]   	=		str(bin(SCREAMING_SNAKE_CASE_       )       )[2:]
       UpperCamelCase    :	Tuple   	=		max(len(SCREAMING_SNAKE_CASE_       )							,			len(SCREAMING_SNAKE_CASE_       )       )
       return "0b" + "".join(
           str(int('''1''' in (char_a, char_b)       )       )
           for char_a, char_b in zip(a_binary.zfill(SCREAMING_SNAKE_CASE_       )							,			b_binary.zfill(SCREAMING_SNAKE_CASE_       )       )       )


if __name__ == "__main__":
  import doctest

  doctest.testmod()

