Here is the program-
I will write about decryption in the next post; meanwhile you can write your own code to decrypt text. Go ahead, decrypt this one- ĘŁēķĬĭĺ
string=input('Enter a string:')
text_enc_char=''
enc_factor=200text_dec=''enc_char=ord(char)+enc_factor
for char in string:
text_enc_char+=chr(enc_char)
print(text_enc_char)
For decrypting the text above go to the second part of this post here.