Ah that makes more sense. So in this example the sum is adding the value of each value in myList at a time, adding them up, and then dividing that number by the counter number.
Is this right? By looking at this code am i correct to assume that final value of counter will probably be 10?
Thank you for your help btw.