DEV Community

Discussion on: Charming the Python: Boolean & Operators

 
vickilanger profile image
Vicki Langer

As mentioned before, True/False is actually 1/0. So, are you saying we should be using and & or to evaluate to 1/0?

I’ve tried to find examples that don’t lead to a Boolean outcome and I’m at a loss.

I read the python docs this morning and it refers to these as Boolean operators.