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.9 Selection
Practise exam questionsSelection — Note 3 of 4
IF statements inside IF statements.
A nested if is an if statement inside another if statement. Use this when a second decision depends on the first. Indentation shows which if each else belongs to.
has_ticket = True
age = 14
if has_ticket:
if age >= 18:
print("Adult entry")
else:
print("Child entry")
else:
print("Buy a ticket first")Specification notes for programming are in Paper 2.