In this post we will discuss how to decrypt the text we encrypted in the last post. The basic idea here is just to reverse the process we followed while encrypting.
text_enc_char=input('Enter encrypted text:')enc_factor=200for encchar in text_enc_char:
dec_char=ord(encchar)+enc_factor
text_dec+=chr(dec_char)
print(text_dec)