On Thu, 14 Aug 2008 08:35:15 -0700 (PDT), korean_dave wrote: > Still the same output... > > Here's the actual code... > > for x in range(0,2): > for y in range(0,27): > for z in range(0,15): > print(str(x) + " " + str(y) + " " + str(z))
This code won't produce the output you have shown in your original post. What's your supposed output for the code above (IOW, what are you trying to achieve)? And BTW, which version of python do you use? If it's not Python 3.0 don't put parentheses around the print instruction, it's not a function. You could also write: print "%d %d %d" % (x, y, z) -- Regards, Wojtek Walczak, http://www.stud.umk.pl/~wojtekwa/ -- http://mail.python.org/mailman/listinfo/python-list