Python – useful string methods

Hi all, here is a brief list of useful string methods. capitalize(). Makes the first letter of the string uppercase and all the rest lowercase, and returns the result. lower(). Returns a version of the string with all uppercase letters changed to lowercase. upper(). Returns a version of the string with all lowercase letters changed…
Read more