Signed up recently but had issues with the confirmation email?
Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.
Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.
301.2 Arithmetic Operators
Practise exam questionsArithmetic Operators — Note 4 of 4
Apply BIDMAS to expressions.
Python follows BIDMAS (Brackets, Indices, Division/Multiplication, Addition/Subtraction). Operations like **, *, /, +, - are evaluated in that order, just like in maths.
() are evaluated first** (indices/powers)* / // % (left to right)+ - (left to right)print(2 + 3 * 4) # 14, not 20
print((2 + 3) * 4) # 20
print(10 - 2 ** 3) # 2 (10 - 8)Specification notes for programming are in Paper 2.