First time here? Check out the FAQ!
answered 2019-04-14 18:49:00 +0100
Use sets, not lists:
sage: set([1, 2, 3, 4]) {1, 2, 3, 4} sage: set([2, 3, 4, 1]) {1, 2, 3, 4} sage: set([1, 2, 3, 4]) == set([2, 3, 4, 1]) True