Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@SietsevanderMolen
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SietsevanderMolen/2c8e2b32df7a6c1883b7 to your computer and use it in GitHub Desktop.
Save SietsevanderMolen/2c8e2b32df7a6c1883b7 to your computer and use it in GitHub Desktop.
d=''.join(map(chr, range(34, 126)))
q="Q#$%&q()*}w'e[0123456789ZzW]E{@ANIHDYUJGCVPMLSRXO:KF><BT?-\=^\"`anihdyujgcvpmlsrxo;kf.,bt/_|+']"
print(''.join(q[d.find(c)] if d.find(c)!=-1 else c for c in input()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment