Symbols used to connect or modify true or false values to create a new result.
Details
Logical operators allow programs to combine multiple conditions into a compound condition:
- AND – true if both conditions are true.
- OR – true if at least one condition is true.
- NOT – reverses a boolean value (
truebecomesfalse, and vice versa).
🤖 Pseudocode
true AND false # false true OR false # true NOT true # false
Related Concepts
- Is: Operator
- Used in: Compound Condition
Related Actions
- Used in: Write a Compound Condition