Caesar cipher

Report a typo

Have you ever heard of a Caesar cipher? Let's try to encrypt a small message in a similar fashion! Write a code that reads a string from the input, adds 1 to the code point of every character and outputs the encrypted string.

Sample Input 1:

I love ord function!

Sample Output 1:

J!mpwf!pse!gvodujpo"
Write a program in Python 3





___

Create a free account to access the full topic