Logic and Bitwise Operators
Logic and Bitwise Operators
Operator Precedence:
| Priority | Operator |
|----------|---------------------------|
|1 | `~`, `+`, `-` (unary) |
|2 | `**` |
|3 | `*`, `/`, `//`, `%` |
|4 | `+`, `-` (binary) |
|5 | `<<`, `>>` |
|6 | `<`, `<=`, `>`, `>=` |
|7 | `==`, `!=` |
|8 | `&` |
|9 | `|` |
| 10 | `=`, `+=`, `-=`, `*=`, `/=`, `%=`, `&=`, `^=`, `|=`, `>>=`, `<<=` |
Lists: