Re: [Tutor] Hi, First question

2013-06-16 Thread Alan Gauld
On 15/06/13 06:22, Patrick Williams wrote: Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of data I need, I can't seem to get the numbers to add separately so I c

Re: [Tutor] Hi, First question

2013-06-16 Thread Steve Willoughby
On 16-Jun-2013, at 09:21, Mark Lawrence wrote: > On 16/06/2013 16:55, Chris “Kwpolska” Warrick wrote: >> On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: >>> Hi so I am making a bit of code to extract a bit of numbers data from a file >>> and then find the average of that data, however

Re: [Tutor] Hi, First question

2013-06-16 Thread Mark Lawrence
On 16/06/2013 16:55, Chris “Kwpolska” Warrick wrote: On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of d

Re: [Tutor] Hi, First question

2013-06-16 Thread Chris “Kwpolska” Warrick
On Sat, Jun 15, 2013 at 7:22 AM, Patrick Williams wrote: > Hi so I am making a bit of code to extract a bit of numbers data from a file > and then find the average of that data, however while I can get the code to > extract each specific piece of data I need, I can't seem to get the numbers > to a

Re: [Tutor] Hi, First question

2013-06-16 Thread Alexander
On Sat, Jun 15, 2013 at 1:22 AM, Patrick Williams wrote: > Hi so I am making a bit of code to extract a bit of numbers data from a > file and then find the average of that data, however while I can get the > code to extract each specific piece of data I need, I can't seem to get the > numbers to

[Tutor] Hi, First question

2013-06-16 Thread Patrick Williams
Hi so I am making a bit of code to extract a bit of numbers data from a file and then find the average of that data, however while I can get the code to extract each specific piece of data I need, I can't seem to get the numbers to add separately so I can get a proper average. My sum1 variable see