SyntaxFix
Write A Post
Hire A Developer
Questions
You want to replace it, not strip it:
replace
strip
s = s.replace(',', '')