Python Love :)

rtilley rtilley at vt.edu
Mon Mar 13 18:42:26 CET 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