newlist = []
for i, v in enumerate(mylist):
    totalcount = mylist.count(v)
count = mylist[:i].count(v)
newlist.append(v + str(count + 1) if totalcount > 1 else v)
Python: Rename duplicates in list with progressive numbers without sorting list