mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-22 21:08:12 +08:00
fix(curriculum): format or operator correctly in python review basics lesson (#66190)
This commit is contained in:
parent
199379b27a
commit
0e484c3cd7
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user