Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def encrypt_message(string):
- newmsg=(chr(ord(string[0])+2))
- newmsg1=(chr(ord(string[1])+2))
- newmsg2=(chr(ord(string[2])+2))
- value=newmsg+newmsg1+newmsg2
- return value
- encrypt_message()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement