Lists and Tuples

Roy Smith roy at panix.com
Fri Dec 5 10:41:39 EST 2003


Joe Francia <usenet at soraia.com> wrote:
> For example, a Cartesian coordinate is appropriately represented as a 
> tuple of two or three numbers.

I would agree if you're explicitly talking about 2-space or 3-space.  
But if you're dealing with higher-order geometries, then a coordinate 
becomes an N-vector and now it starts to feel more like a list than a 
tuple.

I can't put any rigorous argument behind that, it's just what (to me) 
feels right.




More information about the Python-list mailing list