<filename>FourInputsOneNeuron.py
#One neuron and four inputs
inputs = [2.3,5.4,1.8,-0.5]
weights = [6.2,7.1,9.4,2.8]
bias = 3

outputs = inputs[0]*weights[0] + inputs[1]*weights[1] + inputs[2]*weights[2] + inputs[3]*weights[3] + bias

print(outputs)
<filename>FourInputsOneNeuron.py
#One neuron and four inputs
inputs = [2.3,5.4,1.8,-0.5]
weights = [6.2,7.1,9.4,2.8]
bias = 3

outputs = inputs[0]*weights[0] + inputs[1]*weights[1] + inputs[2]*weights[2] + inputs[3]*weights[3] + bias

print(outputs)
#One neuron and four inputs