get rid of comma in string python code example Example: strip comma from string python s = s.replace(',', '')