When dealing with strings in python, there is a very helpful standard module : string.py.
String module contains some constants, utility function, and classes for string manipulation.
Sorry about this, but Cheatography is only able to provide the resources it does thanks to revenue from advertising. Please consider disabling your ad blocker before continuing.
If you would prefer to continue without turning off your ad blocker, please click here to temporarily dismiss this message.