Re: [Tutor] Fwd: Re: Doubt in Python

2019-01-17 Thread Steven D'Aprano
On Thu, Jan 17, 2019 at 09:57:03AM +, Alan Gauld via Tutor wrote: > The algorithm is probably described somewhere in the documentation > but my understanding is that it looks something like this(in pdeudo code): List, tuple and string comparisons are defined as lexicographical order: http://

[Tutor] Fwd: Re: Doubt in Python

2019-01-17 Thread Alan Gauld via Tutor
CCing the list. Please use Reply All or Reply List on responses to the list. On 17/01/2019 07:24, Maninath sahoo wrote: a=[100,50,30] b=[100,90,3] a True a>b > False > > > How it compares between two lists > The algorithm is probably described somewhere in the documentation b