how to get rid of extra comma in string python code example Example: how to remove coma in python s = s.replace(',', '')