News for hackers. Stuff that matters.
Re:Stack Overflow: Printing 1 to 1000 in C by rararational on Monday March 14, 2011 @04:42PM (#2324350)
Heh, I forgot about join but that for is still a loop right? :)

Or else you could just:

    for i in range(1,1000):
        print i
Plus relying on the string representation of a list isn't silly it as it doesn't change. I just didn't know if range would meet the criteria or not.

There are no comments on this comment yet.