Hacker News new | ask | show | jobs
by zepolen 5864 days ago
Either you do it correctly (as in list manipulation, in place) or do it pythonically. That code is somewhere in between.

The pythonic version would be s.replace(c, '')