How To Check If Two Arrays Are Equal Python, In Python, a list is a data type that stores several elements as one datatype.