Perceptron Program In Python Language Definition