[EMAIL PROTECTED]:

Do you mean something like this? (notice the many formatting
differences, use a formatting similar to this one in your code)

coords = []

for i in xrange(1, 5):
    for j in xrange(1, 5):
        for k in xrange(1, 2):
            coords.append( (i, j, k) )

coords *= 10
print coords

Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to