remove comma colon from string python code example Example: how to remove coma in python s = s.replace(',', '')