只能做到这种程度了
? ~ ipython
Python 3.7.4 (default, Sep 7 2019, 18:27:02)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.2.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]: x = [[2,2,3],[2,3,2],[3,2,2],[7]]
In [2]: [list(_) for _ in set([tuple(sorted(__)) for __ in x])]
Out[2]: [[7], [2, 2, 3]]
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…