i currently have a file that contains a list that is looks like
example = [\'Mary had a little lamb\' ,
\'Jack went up the hill\' ,
\'Ji
first_split = []
for i in example:
first_split.append(i.split())
second_split = []
for j in first_split:
for k in j:
second_split.append(k.split())
final_list = []
for m in second_split:
for n in m:
if(n not in final_list):
final_list.append(n)
print(final_list)