def main() -> None:
    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)}     |")