Python Love :)

rtilley rtilley at vt.edu
Mon Mar 13 12:42:26 EST 2006


BWill wrote:
> and ixnay on the ubyray or else I'll tell you where to stick your 
> endblock delimiter :P

OK, I can't help it... which is more readable:

a_string.reverse	(ruby)
a_string[::-1]		(python)




More information about the Python-list mailing list