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