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

+1

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

Sanjana

5 Answers

New Answer

+4

https://www.google.com/amp/s/www.geeksforgeeks.org/understanding-boolean-logic-in-python-3/amp/

+2

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?

+2

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

+2

♨️♨️ thank you for the help

+2

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.