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.17 Arrays and Records
Practise exam questionsArrays and Records — Note 3 of 4
Pass list to functions.
You can pass a list to a function as a parameter. Functions can read, modify, or return new lists. Changes to the list inside the function affect the original.
def find_highest(scores):
highest = scores[0]
for s in scores:
if s > highest:
highest = s
return highest
marks = [72, 85, 91, 68]
print(find_highest(marks)) # 91Specification notes for programming are in Paper 2.