Logical operators are used to connect more relational operations to form a complex expression called logical expression. A value obtained by evaluating a logical expression is always logical, i.e. either True or False.
and
True and Expression1 and Expression2 = Expression2
False and Expression1 and Expression2 = False
or
True or Expression1 or Expression2 = True
False or Expression1 or Expression2 = Expression1
not
Python Advance Tutorial for Beginners with Demo 2020 ( PART – 01 ) — By DevOpsSchool
Python Advance Tutorial for Beginners with Demo 2020 ( PART – 02 ) — By DevOpsSchool
Latest posts by Rajesh Kumar (see all)
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024
- Difference between UBUNTU and UBUNTU PRO - April 17, 2024