How to Strip Characters From a Python String (Sample Code) – Real Python