def NorGateNeuron(): NORGate = Neuron([[0, -0.5], [1, -0.5]], threshold=0) NORGate.calc() print(NORGate.output)