Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- encoded = list(raw_input("Please enter an encoded message: "))
- for i in xrange(0, len(encoded), 3):
- num = 96 + (int(encoded[i]) + int(encoded[i+1]) + int(encoded[i+2]))
- print(chr(num))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement