Created
November 4, 2015 13:33
-
-
Save popey456963/a170369bc576ffdff7d5 to your computer and use it in GitHub Desktop.
Ascii Transformer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
line = input() | |
if len(line)%3 == 0: | |
n=3 | |
c="" | |
for i in [line[i:i+n] for i in range(0, len(line), n)]: | |
c+=chr(int(i)) | |
print(c) | |
else: | |
print("ERROR") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment