Best way to compare a list?

John Hunter jdhunter at
Wed Jan 28 04:58:33 CET 2004

>>>>> "Fazer" == Fazer  <faizan at> writes:

    Fazer> Hello, I was wondering which would be the best way to
    Fazer> compare a list?

    Fazer> I was thinking of just using a for loop and testing the
    Fazer> condition.

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

What do you want to compare for, equality of all elements?  Give a
little more info about what you need to do.  


More information about the Python-list mailing list