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 3 of 4
Use powers in code.
The ** operator raises a number to a power. It is Python's equivalent of the mathematical exponent notation.
** means 'to the power of': 2 ** 3 → 8n ** 2n ** 0.5* and / in precedenceprint(2 ** 3) # 8
print(5 ** 2) # 25
print(9 ** 0.5) # 3.0 (square root)Specification notes for programming are in Paper 2.