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.3 Variables and Constants
Practise exam questionsVariables and Constants — Note 2 of 4
Values that do not change.
A constant is a value that should not change while the program runs. Python has no built-in constant keyword, so by convention we use UPPER_CASE names to signal that a value should not be modified.
VAT_RATE = 0.2VAT_RATE = 0.2
MAX_LIVES = 3
price = 50
total = price + (price * VAT_RATE)
print(total) # 60.0Back to Variables and Constants
Specification notes for programming are in Paper 2.