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.10 Iteration
Practise exam questionsIteration — Note 3 of 4
Counters, totals, repeat-until.
Common loop patterns include counting occurrences, accumulating a running total, and repeating until a condition is met. These patterns appear in almost every program.
total = 0
count = 0
for i in range(5):
num = int(input("Number: "))
total += num
count += 1
print("Sum: " + str(total) + ", Count: " + str(count))Specification notes for programming are in Paper 2.