Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def caesar_cipher(string):
- result = ''
- for char in string:
- result += chr(ord(char) + 3)
- return result
- string = input()
- print(caesar_cipher(string))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement