compare 2 unordered lists by each element python code example Example: python compare lists unordered def compare(s, t): return sorted(s) == sorted(t)