+ 2

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?

26th Oct 2021, 2:38 PM
Sanjana
Sanjana - avatar
5 Antworten
+ 3
♨️♨️ thank you for the help
26th Oct 2021, 2:47 PM
Sanjana
Sanjana - avatar
+ 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?
26th Oct 2021, 2:45 PM
Slick
Slick - avatar
+ 2
Slick thank u that helped me understand the topic better!!
26th Oct 2021, 2:46 PM
Sanjana
Sanjana - avatar
+ 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.
27th Oct 2021, 5:47 AM
Aqib Javid Bhat
Aqib Javid Bhat - avatar