結果 : single layer perceptron python code from scratch