結果 : single layer perceptron code python