On Wed, Jan 30, 2019 at 8:20 AM Bob van der Poel <bob at mellowood.ca> wrote: > Isn't the easiest way to do this is: > > sorted( [n1,n2,n3] )[-1] > > to get the largest value? >>> help(max) But the point of this exercise is not to use sorted() or max(). ChrisA