Best way to compare a list?

Miki Tebeka miki.tebeka at zoran.com
Wed Jan 28 08:46:16 CET 2004


Hello Faizan,

> What do you guys think?  The best/fastest way of comparing lists.

>>> l1 = range(10)
>>> l2 = range(10)
>>> l1 == l2
True

HTH.
Miki



More information about the Python-list mailing list