python for loop

Chris Nash cndefend-stuff at yahoo.co.uk
Wed Jul 10 18:43:15 CEST 2013


The first item in a sequence is at index zero because it is that far away from 
the beginning. The second item is one away from the beginning. That is the 
reason for zero-based indexing.




More information about the Python-list mailing list