R=[['dafdwsf','fafwfwe','fedfwefw','kmlknkfwe'],['cdcdcewfqedq','aasdecercre','hhkklkmlk','testing'],['nvnnkv','mmffwe','ljfljfwe']]
S=[['hhkklkmlk','cdcdcewfqedq'],['fwlkmfw','mmffwe','ljfljfwe'],['dafdwsf','fafwfwe','fedfwefw','kmlknkfwe']]
If have converted lists of lists to set of tuples
set(map(tuple,R))-set(map(tuple,S))
returns
{('cdcdcewfqedq', 'aasdecercre', 'hhkklkmlk','testing'),('nvnnkv', 'mmffwe', 'ljfljfwe')}
Im looking for ways to get :
{('aasdecercre','testing'),('nvnnkv')}
I have read here to sort the tuples before creating set but still not getting the desired output.