avatar Bite 68. Remove punctuation characters from a string

Complete remove_punctuation which receives an input string and strips out all punctuation characters (!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~).

Return the resulting string. You can go full loop, list comprehension or maybe some nice stdlib functionality?

Login and get coding
go back Beginner level
Bitecoin 2X
Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help