
def 			lowerCamelCase_ (				lowerCamelCase__	, lowerCamelCase__    ):
				return int((input_a, input_a).count(0    ) == 0    )





def 			lowerCamelCase_ (				):
				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"""



def   __lowerCAmelCase						(						lowercase  :  list[int] )	->						float:


    """simple docstring"""





    if not nums:  # Makes sure that the list is not empty
        raise ValueError("List is empty" )

    snake_case    :      List[str]      					=    sum(lowercase ) / len(lowercase )  # Calculate the average
    return sum(abs(x - average ) for x in nums ) / len(lowercase )


if __name__ == "__main__":
  import doctest

  doctest.testmod()





