>>>>> "Ciprian Dorin, Craciun" <ciprian.crac...@gmail.com> (CDC) wrote:

>CDC>     About the compare (a, b, operator.lt) it does the same as a < b,
>CDC> where a and b are lists of numbers.


>>> a=[1, 2, 3]
>>> b=[1, 2, 4]
>>> compare (a, b, operator.lt)
False
>>> a < b
True

-- 
Piet van Oostrum <p...@cs.uu.nl>
URL: http://pietvanoostrum.com [PGP 8DAE142BE17999C4]
Private email: p...@vanoostrum.org
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to