Python Built-in Types
Built-in Types — String, list, dict, set, tuple, number methods. This group brings together the String Methods, List Methods, Dictionary Methods, Set Methods, Tuple Methods, Number Methods categories of the Python standard library. str.upper() returns a copy of the string with all characters converted to uppercase. str.lower() returns a copy of the string with all characters converted to lowercase. str.capitalize() returns a copy with the first character capitalized and the rest lowercased. str.title() returns a titlecased version where each word starts with uppercase. str.strip() removes leading and trailing whitespace (or specified characters). Representative APIs from this group include str.upper(), str.lower(), str.capitalize(), str.title(), str.strip(), str.lstrip(), str.rstrip(), str.split(). Each category page in this group lists its functions with syntax, parameters, return values, and runnable examples, so the group works as a map of a whole area of the standard library.