Furthermore RE: Python
The same thing, but with a string instead of a list.
>>> resp = "hello world" >>> resp 'hello world' >>> i = 0 >>> while i < len(resp): ... print "%u" % ord(resp[i]) ... i += 1 ... 104 101 108 108 111 32 119 111 114 108 100 >>>
No comments:
Post a Comment