click below
click below
Normal Size Small Size show me how
OCR J277 - 1a
| Symbol | Meaning + Example |
|---|---|
| + | Addition E.g. ans = 5 + 3 |
| - | Subtraction E.g. ans = 5 - 3 |
| * | Multiplication E.g. ans = 5 * 3 |
| / | Division (will leave a float) E.g. ans = 5 / 2 |
| // | Floor Division (will NOT leave a float) E.g. ans = 5 // 3 |
| % | Modulus (the remainder of a division) E.g. ans = 5 % 3 |
| ** | Exponentiation (to the power of) E.g. ans = 5 ** 3 |