Created
April 4, 2019 18:14
-
-
Save kozmaz87/69472e873d31e6c416ec25812540d743 to your computer and use it in GitHub Desktop.
Fun riddle for this video: https://www.youtube.com/watch?v=ZQpDoR8ZGTc
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
import string | |
alphabet = string.ascii_lowercase | |
key1 = '95 83 96 67 56 56 64 92 92 30 85 82 38 81 61 86 48 92 71 79 64 87 87 65 17' | |
key2 = '76 72 84 63 41 36 45 84 73 18 84 63 30 73 60 77 28 69 66 65 44 62 73 51 12' | |
print(''.join((map(lambda x: alphabet[int(x[0]) - int(x[1]) - 1], zip(key1.split(' '), key2.split(' ')))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HAI lead me here. Proud to be here.