Human: Removing duplicates from list of lists in Python Assistant: 
Here is some code to remove duplicate elements from list 'L'

list(dict((x[0], x) for x in L).values())

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.