Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=str(input("Enter a plaintext"))
- n=int(input("Enter the value of n"))
- c=list(a.split(" "))
- for x in c:
- asci=ord(x)
- ct=asci+n
- print(chr(ct))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement