[Tutor] Looking for Words - Help
Mark Lawrence
breamoreboy at yahoo.co.uk
Fri Oct 11 15:02:46 CEST 2013
On 11/10/2013 06:18, Jackie Canales wrote:
>
> for i in range(len(lst)):
> line = lst[i]
Sound advice already from Dave and Peter so I'll just point out for the
benefit of newbies that you don't write Python for loops like this, it's.
for line in lst:
etc
Please see http://docs.python.org/3/tutorial/controlflow.html#index-0
--
Roses are red,
Violets are blue,
Most poems rhyme,
But this one doesn't.
Mark Lawrence
More information about the Tutor
mailing list