I am trying to create a simple encryption program in python using functions but am having a problem where I get an error message when I run the program saying (\'msgReversed\' i
Change your last few lines from this:
reverseMsg(plaintext) (cipher)=encript(msgReversed,k)
To this:
(cipher)=encript(reverseMsg(plaintext),k)