
'''simple docstring'''


def lowercase_	(   _lowercase			,       _lowercase				)     ->							int:
					'''simple docstring'''

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




def lowercase_	(   )     ->							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 __future__ import annotations

from math import pi, sqrt




def lowercase_	(   _lowercase			,       _lowercase				)     ->							tuple:
					'''simple docstring'''

					if inductance <= 0:
										raise ValueError('''Inductance cannot be 0 or negative'''				)

					elif capacitance <= 0:
										raise ValueError('''Capacitance cannot be 0 or negative'''				)

					else:
										return (
										    "Resonant frequency",
										    float(1 / (2 * pi * (sqrt(inductance * capacitance				)))				),
										)


if __name__ == "__main__":
					import doctest

					doctest.testmod()


