結果 : python code for single layer perceptron