Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. def encrypt_message(string):
  2.     newmsg=(chr(ord(string[0])+2))
  3.     newmsg1=(chr(ord(string[1])+2))
  4.     newmsg2=(chr(ord(string[2])+2))
  5.     value=newmsg+newmsg1+newmsg2
  6.     return value
  7. encrypt_message()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement