31 out of 32 users completed this Bite ...
Will you be Pythonista #32 to crack this Bite?
Average Bite difficulty 1-10 rating: 2.0
» You can do it! 😌
In this Bite we compare two
listobjects for equality, a fundamental thing to understand in Python.
check_equalityfunction returning the various
Enumvalues (representing equality scores) according to the type of equality of the lists:
SAME_REFERENCEif both lists reference the same object,
SAME_ORDEREDif they have the same content and order,
SAME_UNORDEREDif they have the same content unordered,
SAME_UNORDERED_DEDUPEDif they have the same unordered content.
Have fun and keep calm and code in Python!