tuankiet65

Untitled

Sep 2nd, 2016
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. tuankiet65@ASUS-ArchLinux:[~/Downloads][Fri Sep 02 11:50 PM]$ python3
  2. Python 3.5.2 (default, Jun 28 2016, 08:46:01)
  3. [GCC 6.1.1 20160602] on linux
  4. Type "help", "copyright", "credits" or "license" for more information.
  5. >>> s = "110110 110100 100000 110111 110001 100000 110100 110000 100000 110110 110010 100000 110110 110000 100000 110100 110000 100000 110110 110100 100000 110001 110000 110011 100000 110100 110000 100000 110110 110100 100000 110001 110000 110110 100000 110100 110000 100000 110110 110101 100000 110110 110110 100000 110100 110000 100000 110110 110100 100000 110110 110101 100000 110100 110000 100000 110110 110010 100000 110110 110000 100000 110100 110000 100000 110110 110101 100000 110111 110001 100000 110100 110000 100000 110110 110100 100000 110001 110000 110110 100000 110100 110000 100000 110110 110101 100000 110110 110101"
  6. >>> "".join([chr(int(a, 16)) for a in "".join([chr(int(z, 8)) for z in "".join([chr(int(x, 2)) for x in s.split(" ")]).split(" ")]).split(" ")])
  7. 'I LOVE YOU'
  8. >>>
Advertisement
Add Comment
Please, Sign In to add comment