Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def encrypt_function(sting):
- encrypted_string = ''
- user_input = int(input('Enter an integer'))
- for c in string:
- encrypted_string += chr((ord(c) % 173 + user_input))
- return encrypted_string
Add Comment
Please, Sign In to add comment