Skip to content

Instantly share code, notes, and snippets.

@trietptm
Created January 21, 2016 03:59
Show Gist options
  • Save trietptm/cbb23d4822c7f3c50cf4 to your computer and use it in GitHub Desktop.
Save trietptm/cbb23d4822c7f3c50cf4 to your computer and use it in GitHub Desktop.
Decode captcha octal ASCII string
>>> ''.join(map(lambda x: chr(int(x,8)),'127 150 141 164 047 163 040 164 150 145 040 141 164 157 155 151 143 040 156 165 155 142 145 162 040 157 146 040 150 171 144 162 157 147 145 156 077'.split()))
"What's the atomic number of hydrogen?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment