How is Boolean algebra realated to python? | Sololearn: Learn to code for FREE!


How is Boolean algebra realated to python?

I'm totally new to programming and came across Booleans in the python beginner course ...could someone please give me a basic idea about this topic?

10/26/2021 2:38:24 PM


5 Answers

New Answer



booleans are true and false values. Represented by integers: 1 for True and 0 for False. That's about it. What specifically did you want to know?


Slick thank u that helped me understand the topic better!!


♨️♨️ thank you for the help


Booleans are used to represent the truth value of an expression. There are 2 boolean keywords True and False. Either an expression evaluates to True or False. 0 represents false and any non-zero integer represents True. Operators are special symbols used to perform arithmetic or logical computations. Comparison operators are used to compare values and they return either True or False after computing the condition.