I have a text string. I need to decode the text string i.e, replace every character in the string with its counterpart and then read the message. How do I achieve this?
For example:
g fmnc wms bgblr rpylqjyrc gr zw fylb. rfyrq ufyr amknsrcpq ypc dmp. bmgle gr gl zw fylb gq glcddgagclr ylb rfyr'q ufw rfgq rcvr gq qm jmle. sqgle qrpgle.kyicrpylq() gq pcamkkclbcb. lmu ynnjw ml rfc spj.
is encoded. I need to replace a's with c, b's with d ,etc. How do I do this within Python?
There is a problem when I do replace. When I do a replace all, I replace the replaced characters and that is not what I want. I want to replace one character at a time and decode the message.