SyntaxFix
Write A Post
Hire A Developer
Questions
Try iterating through each element of the list, then splitting it at the tab character and adding it to a new list.
for i in list: newList.append(i.split('\t')[0])