I am running the below code to remove duplicates from the element list of the list I am trying to remove element one by one from x = [[\'510\',\'511\',\'512\'],[\'510\',\'515\',