python strip commas out of string code example Example: strip comma from string python s = s.replace(',', '')