Lisp mentality vs. Python mentality

Piet van Oostrum piet at
Sun Apr 26 15:37:39 CEST 2009

>>>>> "Ciprian Dorin, Craciun" <ciprian.craciun at> (CDC) wrote:

>CDC>     About the compare (a, b, 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,
>>> a < b

Piet van Oostrum <piet at>
URL: [PGP 8DAE142BE17999C4]
Private email: piet at

More information about the Python-list mailing list