Hello all.
I have read the Python 2.7.15 documentation on for statements, as well as a book about Python 3 on the subject, however it is still confusing trying to understand the full concept of what a 'for' statement does. I know it is used to count over a certain number of items within a list, but how can it be used effectively in statements like this?
for i in range:
#code would go here.
That is where I am lost.
Can someone please help explain this part of the concept to me?
Thank you very much.
Pages 1