On Sunday, January 3, 2016 at 5:59:30 PM UTC+1, cc.fe...@gmail.com wrote:
> On Sunday, January 3, 2016 at 5:28:49 PM UTC+1, Ian wrote:
> > On Sun, Jan 3, 2016 at 8:59 AM, wrote:
> > > Thanks Chris!
> > > Don't worry about the indent, will fix it
> > > I've rewritten it to this-
> > >
> > > def g
On 03/01/16 16:55, cc.fezer...@gmail.com wrote:
On Sunday, January 3, 2016 at 5:14:33 PM UTC+1, Chris Angelico wrote:
On Mon, Jan 4, 2016 at 2:59 AM, wrote:
Thanks Chris!
Don't worry about the indent, will fix it
I've rewritten it to this-
def get_algorithm_result( numlist ):
largest =
On Sunday, January 3, 2016 at 5:28:49 PM UTC+1, Ian wrote:
> On Sun, Jan 3, 2016 at 8:59 AM, wrote:
> > Thanks Chris!
> > Don't worry about the indent, will fix it
> > I've rewritten it to this-
> >
> > def get_algorithm_result( numlist ):
> >> largest = numlist[0]
> >> i = 1
> >> while ( i <
On Sunday, January 3, 2016 at 5:14:33 PM UTC+1, Chris Angelico wrote:
> On Mon, Jan 4, 2016 at 2:59 AM, wrote:
> > Thanks Chris!
> > Don't worry about the indent, will fix it
> > I've rewritten it to this-
> >
> > def get_algorithm_result( numlist ):
> >> largest = numlist[0]
> >> i = 1
> >>
On Sun, Jan 3, 2016 at 8:59 AM, wrote:
> Thanks Chris!
> Don't worry about the indent, will fix it
> I've rewritten it to this-
>
> def get_algorithm_result( numlist ):
>> largest = numlist[0]
>> i = 1
>> while ( i < len(numlist) ):
> i = i + 1
>>if ( largest < numlist[i]):
>> l
On Mon, Jan 4, 2016 at 2:59 AM, wrote:
> Thanks Chris!
> Don't worry about the indent, will fix it
> I've rewritten it to this-
>
> def get_algorithm_result( numlist ):
>> largest = numlist[0]
>> i = 1
>> while ( i < len(numlist) ):
> i = i + 1
>>if ( largest < numlist[i]):
>> l
Thanks Chris!
Don't worry about the indent, will fix it
I've rewritten it to this-
def get_algorithm_result( numlist ):
> largest = numlist[0]
> i = 1
> while ( i < len(numlist) ):
i = i + 1
>if ( largest < numlist[i]):
> largest = numlist[i]
> numlist[i] = numlist[-1]
On Mon, Jan 4, 2016 at 1:35 AM, wrote:
> Here's my code in python :
>
> def get_algorithm_result( numlist ):
> largest = numlist[0]
> i = 1
> while ( i < len(numlist) ):
>if ( largest < numlist[i]):
> largest = numlist[i]
> i = i + 1
> numlist[i] = numlist[-1]
> return