def separate(mylist):
    newlist = []
test = ''
a = ''
for e in mylist:
    for c in e:
        if not c.isalpha():
            a = c
else:
    test = test + c
if a != '':
    newlist = newlist + [test] + [a]
else:
    newlist = newlist + [test]
test = ''
a = ''
noduplicates = []
for i in newlist:
    if i not in noduplicates:
        noduplicates = noduplicates + [i]
return noduplicates
How do I remove punctuation from an item in a list and save it as a separate item in the list?