How to keep n in encrypting with python?
In this simple code when I give it a text file, the program encrypts it and decrypts it afterwards, the question is why the line if ch != ‘n’ doesn’t work and ‘n’s are all ignored when the file is decrypted?
In this simple code when I give it a text file, the program encrypts it and decrypts it afterwards, the question is why the line if ch != ‘n’ doesn’t work and ‘n’s are all ignored when the file is decrypted?