mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): format or operator correctly in python review basics lesson (#66190)
This commit is contained in:
+1
-1
@@ -803,7 +803,7 @@ else:
|
||||
print('You are not eligible to vote')
|
||||
```
|
||||
|
||||
- **`or` Operator**: This operator returns the first operand if it is truthy, otherwise, it returns the second operand. An or expression results in a truthy value if at least one operand is truthy. Here is an example:
|
||||
- **`or` Operator**: This operator returns the first operand if it is truthy, otherwise, it returns the second operand. An `or` expression results in a truthy value if at least one operand is truthy. Here is an example:
|
||||
|
||||
```py
|
||||
age = 19
|
||||
|
||||
Reference in New Issue
Block a user