How to remove repeated lists and get only one of them? like: [[3,7], [7,3]]

Maybe @SRIVATSAV11 can help, they’ve got the same code and are trying to get it working: