Filling a space...

Thor thor__00 at yahoo.com
Tue Jun 11 15:25:35 CEST 2002


Having this tupe: (2,3,4), which one would be the msot efficient way to get 
this (parentheses ommited):

0,0,0  0,0,1  0,0,2  0,0,3
0,1,0  0,1,1  0,1,2  0,1,3
0,2,0  0,2,1  0,2,2  0,2,3
1,0,0  1,0,1  1,0,2  1,0,3....

I mean, to get all the possible integer points in a defined space.

Thanks in advance.
-- 
Thor -- Stockholm -- Sverige



More information about the Python-list mailing list