



'''simple docstring'''





def lowerCAmelCase    (__A    ,      __A):



     """simple docstring"""



     return 1 if input_a == input_a else 0




def lowerCAmelCase    ():



     """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))








'''simple docstring'''





def lowerCAmelCase    (__A):



     """simple docstring"""



     if not isinstance(__A    ,      __A):
          raise ValueError('''multiplicative_persistence() only accepts integral values''')
     if num < 0:
          raise ValueError('''multiplicative_persistence() does not accept negative values''')

     _a           =    0
     _a           =    str(__A)

     while len(__A) != 1:
          _a           =    [int(__A) for i in num_string]

          _a           =    1
          for i in range(0    ,      len(__A)):
               total *= numbers[i]

          _a           =    str(__A)

          steps += 1
     return steps




def lowerCAmelCase    (__A):



     """simple docstring"""



     if not isinstance(__A    ,      __A):
          raise ValueError('''additive_persistence() only accepts integral values''')
     if num < 0:
          raise ValueError('''additive_persistence() does not accept negative values''')

     _a           =    0
     _a           =    str(__A)

     while len(__A) != 1:
          _a           =    [int(__A) for i in num_string]

          _a           =    0
          for i in range(0    ,      len(__A)):
               total += numbers[i]

          _a           =    str(__A)

          steps += 1
     return steps


if __name__ == "__main__":
  import doctest

  doctest.testmod()



