Could use all(a==b for zip(seq,seq2))
-- Arkadiusz Bulski --
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/