

"""simple docstring"""





def   _A  (  UpperCamelCase_     :       int,			UpperCamelCase_     :       int)	->						int:
   '''simple docstring'''


   return int((input_a, input_a).count(0) == 0)




def   _A  (  )	->						None:
   '''simple docstring'''


   assert and_gate(0,			0) == 0
   assert and_gate(0,			1) == 0
   assert and_gate(1,			0) == 0
   assert and_gate(1,			1) == 1


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







"""simple docstring"""





from collections.abc import Sequence




def   _A  (  UpperCamelCase_     :       Sequence[float],			UpperCamelCase_     :       float)	->						float:
   '''simple docstring'''


   return sum(c * (x**i) for i, c in enumerate(UpperCamelCase_))




def   _A  (  UpperCamelCase_     :       Sequence[float],			UpperCamelCase_     :       float)	->						float:
   '''simple docstring'''


   __lowercase								=						0.0
   for coeff in reversed(UpperCamelCase_):
      __lowercase								=						result * x + coeff
   return result


if __name__ == "__main__":
   _a       =							(0.0, 0.0, 5.0, 9.3, 7.0)
   _a       =							10.0
   print(evaluate_poly(poly, x))
   print(horner(poly, x))




