On Wed, 2005-01-12 at 16:58 +0100, Gerhard Haering wrote:
> 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:

That'll work fine in Python 2.3. I think you meant:

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

which is a different matter entirely (well, regarding compatibility
anyway).

--
Craig Ringer

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to