[Tutor] Empty list validation

qsqgeekyogdty at tiscali.co.uk qsqgeekyogdty at tiscali.co.uk
Mon Jun 9 18:21:55 CEST 2008


Thank you all for the replies.

the 'else' is this necessary, surely when you have an:

>>> if x:
...       print 'x'
...    print 'y'

is this correct?





More information about the Tutor mailing list