Dark theme

Doctests


Here's some code that removes emoticons from a piece of text. Note that, like most code, there's no print to tell us whether the code has worked or not. Instead of adding a print, can you document the function remove_emoticons(string) and add a test to check it works? Note that when strings are returned you can assume they have single-quote marks around them, and remember that the code doesn't remove spaces either side of emoticons.