[Tutor] all elements equal in tuple or list

Dick Moores rdm at rcblue.com
Fri Nov 19 14:59:55 CET 2004


I've been unable to find this. Could you give the URL for the page? I 
figure there must be more good stuff near there..

Thanks,

Dick

Bob Gailer wrote at 22:45 11/18/2004:
>To be more explicit (quoting from the manual) "when expressions are used 
>by control flow statements, the following values are interpreted as 
>false: None, numeric zero of all types, empty sequences (strings, tuples 
>and lists), and empty mappings (dictionaries). All other values are 
>interpreted as true."



More information about the Tutor mailing list