Advertisement
horozov86

Caesar Cipher

Mar 20th, 2023
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. text = input()
  2.  
  3. for ch in text:
  4.     ch_in_number = ord(ch)
  5.     ch_in_number_with_three = ch_in_number + 3
  6.     print(chr(ch_in_number_with_three), end="")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement