how to get rid of commas in a list in python code example Example: how to remove coma in python s = s.replace(',', '')