How to strip comma in Python string
python, string, strip
Solution
You want to `replace` it, not `strip` it:
s = s.replace(',', '')
Problem
How can I strip the comma from a Python string such as `Foo, bar`? I tried `'Foo, bar'.strip(',')`, but it didn't work.