<<< | Index | >>> |
operators represent mathematical operations
use parentheses if unsure of order (and a good habit)
logical operators return either True or False
order of precedence:
Order | Symbol | Operation |
1 | - | Negation |
2 | % | Percentage |
3 | ^ | Exponentiation |
4 | / | Division |
4 | * | Multiplication |
5 | + | Addition |
5 | - | Subtraction |
6 | & | String concatenation: join several text strings together into a single string |
7 | = | Equal To |
7 | <> | Not Equal To |
7 | < | Less Than |
7 | > | Greater Than |
7 | <= | Less Than or Equal To |
7 | >= | Greater Than or Equal To |
<<< | Index | >>> |