So starting with a list of strings, as below
string_list = [\'rest\', \'resting\', \'look\', \'looked\', \'it\', \'spit\']
I wan
Here's an un-optimal way, only use if the lists are small:
for str1 in string_list: for str2 in string_list: if str1 in str2: string_list.remove(str1)