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 2 of 4
Use integer division & remainder.
DIV (//) gives the whole-number result of a division, throwing away the remainder. MOD (%) gives just the remainder. Together they are useful for time conversions and digit extraction.
// is integer division (DIV): 17 // 5 → 3% is modulo (MOD): 17 % 5 → 2n % 2 == 0 means evenminutes = 135
hours = minutes // 60 # 2
leftover = minutes % 60 # 15
print(hours, "h", leftover, "m")Specification notes for programming are in Paper 2.