Python Notes - Strings

hljs.highlightAll(); Python Notes String Methods string.capitalize() Capitalized first letter of string. string.strip() Strips whitespaces both left and right side. string.lstrip() Strips whitespaces left side string.rstrip() Strips whitespaces right side string.lower() turns string into lower case string.upper() turns...