number ranges (was Re: Matlab page on scipy wiki)

Erik Max Francis max at alcyone.com
Sun Feb 19 23:33:28 EST 2006


John Zenger wrote:

> I strongly agree that Python should promote range or xrange to syntax. 
> I favor [0..10] rather than [0:10] because 0..10 is inherently easier to 
> understand.  Every maths text I have read uses the ".." notation to show 
> ranges; 

Math texts typically use a normal ellipsis "..." to indicate any sort of 
repeated pattern.

-- 
Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
   To know oneself, one should assert oneself.
   -- Albert Camus



More information about the Python-list mailing list