Empty string is False right?

Bernd Nawothnig Bernd.Nawothnig at t-online.de
Sat Jan 31 13:27:10 CET 2009

On 2009-01-31, AJ Ostergaard wrote:

> Thanks for that but why:

>>>> '' and True
> ''

> Surely that should be False?!?

It is:

>>> bool('' and True)


No time toulouse

More information about the Python-list mailing list