for y in range (0,iNumItems)--> not in order?

korean_dave davidreynon at gmail.com
Thu Aug 14 10:54:30 EDT 2008


for y in range(0,iNumItems):
 print(str(y))

How do i make the output go IN ORDER
0
1
2
3
4
5
6
etc.

instead of
0
1
10
11
12
13
14
2
3
4
5
6
7
8
9



More information about the Python-list mailing list