Booleans


#1

Why does;

bool('False')
True????


#2

Any string is true. If you remove quotes around 'False' it would work and output False.


#3

Thank you 'cadecodes'. Could you tell me why every string value = True?

Thanks


#4

Many data types are automatically true. A few examples are, strings, integers, floats, and objects.