Created
July 5, 2021 08:35
-
-
Save CraigTheKiwi/bd6025242faf246fe3171a84e7187b17 to your computer and use it in GitHub Desktop.
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
def translateShift2(text): | |
crypt = "`1234567890-=qwertyuiop[]\\asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+QWERTYUIOP{}|ASDFGHJKL:\"ZXCVBNM<>?" | |
print("".join(list(map(lambda a : " " if a==" " else crypt[crypt.index(a)-1], text)))) | |
translateShift2(";p; epe") | |
translateShift2("vtsmnrttu") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment