

"""simple docstring"""






def   lowercase_	(    _lowercase       :		int	):




					'''simple docstring'''






					if not isinstance(_lowercase							,      _lowercase	):
										UpperCAmelCase			:   Optional[Any]      =				F"""Input value of [number={number}] must be an integer"""
										raise TypeError(_lowercase	)
					if number < 0:
										return False
					UpperCAmelCase			:   List[Any]      =				number * number
					while number > 0:
										if number % 10 != number_square % 10:
															return False
										number //= 10
										number_square //= 10
					return True


if __name__ == "__main__":
	import doctest

	doctest.testmod()





"""simple docstring"""






def   lowercase_	(    _lowercase       :		int							,      _lowercase       :		int	):




					'''simple docstring'''






					return int(input_a == input_a == 0	)



def   lowercase_	(    ):




					'''simple docstring'''






					print("Truth Table of NOR Gate:"	)
					print("|   Input 1   |  Input 2  | Output |"	)
					print(F"""|      0      |    0      |  {nor_gate(0							,      0	)}     |"""	)
					print(F"""|      0      |    1      |  {nor_gate(0							,      1	)}     |"""	)
					print(F"""|      1      |    0      |  {nor_gate(1							,      0	)}     |"""	)
					print(F"""|      1      |    1      |  {nor_gate(1							,      1	)}     |"""	)


if __name__ == "__main__":
	import doctest

	doctest.testmod()
	main()


