Last active
April 25, 2016 18:12
-
-
Save ViktorovEugene/5b115d469bbe1ef6277169e8bc7346c9 to your computer and use it in GitHub Desktop.
The challenge of decryption the "this.s"
This file contains 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
from __future__ import print_function | |
import this | |
print('\n-------------------------\n' | |
'DECRYPTION OF the this.s:' | |
'\n-------------------------\n') | |
def decrypt(s, d): | |
result = '' | |
for char_ in s: | |
result += d.get(char_, char_) | |
return result | |
if __name__ == "__main__": | |
print(decrypt(this.s, this.d)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment