, Website of Satan

Gerhard Haering gh at
Wed Jan 12 10:58:21 EST 2005

On Wed, Jan 12, 2005 at 10:15:34AM -0500, Jane wrote:
> [...] Some people have too much time on their hands...

OMG, PyPy is full of evil, too!!!1

print sum([ord(x) for x in "PyPy!!!!!!!!"])

or, if you haven't upgraded to 2.4, yet:

import operator
print reduce(operator.add, [ord(x) for x in "PyPy!!!!!!!!"])

-- Gerhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <>

More information about the Python-list mailing list