hdarwin

wechall.net_Training: ASCII

Dec 28th, 2012
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. #!/usr/bin/env python
  2. solution = []
  3. str = "84, 104, 101, 32, 115, 111, 108, 117, 116, 105, 111, 110, 32, 105, 115, 58, 32, 114, 101, 104, 98, 99, 114, 100, 102, 104, 101, 110, 111"
  4. for x in str.split(", "):
  5.     print solution.append(chr(int(x,10)))
  6. print ''.join(solution)
Advertisement
Add Comment
Please, Sign In to add comment