





def 	UpperCamelCase__(       UpperCamelCase__			:       int ,     UpperCamelCase__			:       int  )->List[str]:
       return int(input_a == input_a == 0  )


def 	UpperCamelCase__(       )->str:
       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()









def 							_UpperCAmelCase				(UpperCamelCase__     :  str				,							UpperCamelCase__     :  bool = False						):

       if not isinstance(UpperCamelCase__				,							UpperCamelCase__						):
              _A      :       Optional[Any]				    = f"Expected string as input, found {type(UpperCamelCase__						)}"
              raise ValueError(UpperCamelCase__						)
       if not isinstance(UpperCamelCase__				,							UpperCamelCase__						):
              _A      :       Union[str, Any]				    = f"Expected boolean as use_pascal parameter, found {type(UpperCamelCase__						)}"
              raise ValueError(UpperCamelCase__						)

       _A      :       int				    = input_str.split("_"						)

       _A      :       str				    = 0 if use_pascal else 1

       _A      :       str				    = words[start_index:]

       _A      :       Optional[Any]				    = [word[0].upper() + word[1:] for word in words_to_capitalize]

       _A      :       Any				    = "" if use_pascal else words[0]

       return "".join([initial_word, *capitalized_words]						)


if __name__ == "__main__":
    from doctest import testmod

    testmod()
