[Tutor] if in an iteration, quick Q!!

John Washakie washakie at gmail.com
Tue May 1 12:20:32 CEST 2007


Thanks!!!!
>
> Depending on what an 'empty' element is you may have to refine that.
>

I also noted, if I used:

tmp = data[6].strip().split()

rather than:
tmp = data[6].strip().split(' ')

I eliminated the 'empty' elements...


More information about the Tutor mailing list