The program related to XOR Perceptron is in the xor-perceptron package.
In this regard, I could not get an accurate and close result depending on the number of iterations by reducing the error to 0. I was able to classify it this way due to my lack of Python knowledge, as I adhered to the given code.